diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-03-09 18:51:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-03-09 18:51:46 +0000 |
commit | 95f14d052a7439c60e35a6d910d6bd3de023907c (patch) | |
tree | 83b1039c3c9d0ff8d8b842d1ec5fc4a392a3a7d2 /target/linux/cns3xxx/files/drivers/i2c | |
parent | 85348d602e2c4b383fa0bec95fb97d9d79094743 (diff) | |
download | mtk-20170518-95f14d052a7439c60e35a6d910d6bd3de023907c.zip mtk-20170518-95f14d052a7439c60e35a6d910d6bd3de023907c.tar.gz mtk-20170518-95f14d052a7439c60e35a6d910d6bd3de023907c.tar.bz2 |
cns3xxx: add linux 3.8 support and use it by default
SVN-Revision: 35908
Diffstat (limited to 'target/linux/cns3xxx/files/drivers/i2c')
-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 f578eac..c3fd7c8 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; |