From 721bf97863757c4add26fe93c7f5487de7ab136a Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 27 Jan 2013 17:48:48 +0000 Subject: kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8 These attributes where removed with kernel 3.8 and are now causing compile errors. SVN-Revision: 35328 --- target/linux/generic/files/drivers/net/phy/b53/b53_spi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'target/linux/generic/files/drivers/net/phy/b53/b53_spi.c') diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_spi.c b/target/linux/generic/files/drivers/net/phy/b53/b53_spi.c index 9c70d1f..6050fea 100644 --- a/target/linux/generic/files/drivers/net/phy/b53/b53_spi.c +++ b/target/linux/generic/files/drivers/net/phy/b53/b53_spi.c @@ -278,7 +278,7 @@ static struct b53_io_ops b53_spi_ops = { .write64 = b53_spi_write64, }; -static int __devinit b53_spi_probe(struct spi_device *spi) +static int b53_spi_probe(struct spi_device *spi) { struct b53_device *dev; int ret; @@ -299,7 +299,7 @@ static int __devinit b53_spi_probe(struct spi_device *spi) return 0; } -static int __devexit b53_spi_remove(struct spi_device *spi) +static int b53_spi_remove(struct spi_device *spi) { struct b53_device *dev = spi->dev.platform_data; @@ -319,7 +319,7 @@ static struct spi_driver b53_spi_driver = { .owner = THIS_MODULE, }, .probe = b53_spi_probe, - .remove = __devexit_p(b53_spi_remove), + .remove = b53_spi_remove, }; module_spi_driver(b53_spi_driver); -- cgit v1.1