From ef827f008aa495b4dc8108ee6c28be7085a94c14 Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 10 Mar 2013 20:26:28 +0000 Subject: xburst: fix compilation: remove the __dev attributes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35946 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/xburst/patches-3.8/0007-Add-ili8960-lcd-driver.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/xburst/patches-3.8/0007-Add-ili8960-lcd-driver.patch') diff --git a/target/linux/xburst/patches-3.8/0007-Add-ili8960-lcd-driver.patch b/target/linux/xburst/patches-3.8/0007-Add-ili8960-lcd-driver.patch index 3bb6881d4..37fa931fa 100644 --- a/target/linux/xburst/patches-3.8/0007-Add-ili8960-lcd-driver.patch +++ b/target/linux/xburst/patches-3.8/0007-Add-ili8960-lcd-driver.patch @@ -186,7 +186,7 @@ Subject: [PATCH 07/21] Add ili8960 lcd driver + .set_mode = ili8960_set_mode, +}; + -+static int __devinit ili8960_probe(struct spi_device *spi) ++static int ili8960_probe(struct spi_device *spi) +{ + int ret; + struct ili8960 *ili8960; @@ -236,7 +236,7 @@ Subject: [PATCH 07/21] Add ili8960 lcd driver + return ret; +} + -+static int __devexit ili8960_remove(struct spi_device *spi) ++static int ili8960_remove(struct spi_device *spi) +{ + struct ili8960 *ili8960 = spi_get_drvdata(spi); + @@ -281,7 +281,7 @@ Subject: [PATCH 07/21] Add ili8960 lcd driver + .owner = THIS_MODULE, + }, + .probe = ili8960_probe, -+ .remove = __devexit_p(ili8960_remove), ++ .remove = ili8960_remove, + .suspend = ili8960_suspend, + .resume = ili8960_resume, +}; -- cgit v1.2.3