diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-09 18:51:46 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-09 18:51:46 +0000 |
commit | fc74ddd9808689a2ecfc39ec6b04d2fb8cf4aa8e (patch) | |
tree | a6d96d08faa76cb2ef37f2f678ddb2ecd561e4b0 /target/linux/cns3xxx/files/drivers/i2c/busses/i2c-cns3xxx.c | |
parent | d5d0bd890fba306006563ddb264d51f6466e583e (diff) |
cns3xxx: add linux 3.8 support and use it by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35908 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns3xxx/files/drivers/i2c/busses/i2c-cns3xxx.c')
-rw-r--r-- | target/linux/cns3xxx/files/drivers/i2c/busses/i2c-cns3xxx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/cns3xxx/files/drivers/i2c/busses/i2c-cns3xxx.c b/target/linux/cns3xxx/files/drivers/i2c/busses/i2c-cns3xxx.c index f578eac054..c3fd7c8972 100644 --- a/target/linux/cns3xxx/files/drivers/i2c/busses/i2c-cns3xxx.c +++ b/target/linux/cns3xxx/files/drivers/i2c/busses/i2c-cns3xxx.c @@ -259,7 +259,7 @@ static irqreturn_t cns3xxx_i2c_isr(int irq, void *dev_id) return IRQ_HANDLED; } -static int __devinit cns3xxx_i2c_probe(struct platform_device *pdev) +static int cns3xxx_i2c_probe(struct platform_device *pdev) { struct cns3xxx_i2c *i2c; struct resource *res, *res2; @@ -331,7 +331,7 @@ static int __devinit cns3xxx_i2c_probe(struct platform_device *pdev) return ret; } -static int __devexit cns3xxx_i2c_remove(struct platform_device *pdev) +static int cns3xxx_i2c_remove(struct platform_device *pdev) { struct cns3xxx_i2c *i2c = platform_get_drvdata(pdev); struct resource *res; |