File 0003-Remove-id.patch of Package psb
From dd8c101afc7a00f80e71d3c5dc311c9607fd2681 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel <lkundrak@v3.sk> Date: Sun, 8 Nov 2009 04:17:29 +0100 Subject: [PATCH 3/3] Remove id I2C_HW_B_INTELFB went away as useless in mainline commit 1745522ccbabd990bfc7511861aa9fa98287cba0 --- psb_i2c.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/psb_i2c.c b/psb_i2c.c index a8435b0..780d31a 100644 --- a/psb_i2c.c +++ b/psb_i2c.c @@ -135,7 +135,9 @@ struct intel_i2c_chan *intel_i2c_create(struct drm_device *dev, chan->reg = reg; snprintf(chan->adapter.name, I2C_NAME_SIZE, "intel drm %s", name); chan->adapter.owner = THIS_MODULE; +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,31)) chan->adapter.id = I2C_HW_B_INTELFB; +#endif chan->adapter.algo_data = &chan->algo; chan->adapter.dev.parent = &dev->pdev->dev; chan->algo.setsda = set_data; -- 1.6.4.2