summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-20 10:52:08 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-20 10:52:08 +0000
commit43a3f9555ac4f73137d1d0ee28a9a88289be6938 (patch)
tree21f265401b3ac24a0f2ec924c9bba606f4dac721 /target/linux/brcm63xx/files
parentc3aa860a1157a5c8dbf0be1f73ada73ec4894572 (diff)
downloadmtk-20170518-43a3f9555ac4f73137d1d0ee28a9a88289be6938.zip
mtk-20170518-43a3f9555ac4f73137d1d0ee28a9a88289be6938.tar.gz
mtk-20170518-43a3f9555ac4f73137d1d0ee28a9a88289be6938.tar.bz2
request irq with the platform driver name instead of bus_id which is being removed in newer kernels
SVN-Revision: 16932
Diffstat (limited to 'target/linux/brcm63xx/files')
-rw-r--r--target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c b/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c
index 1a83a74..bd75b8c 100644
--- a/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c
+++ b/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c
@@ -335,7 +335,7 @@ static int __init bcm63xx_spi_probe(struct platform_device *pdev)
bs->fifo_size = pdata->fifo_size;
ret = request_irq(irq, bcm63xx_spi_interrupt, 0,
- pdev->dev.bus_id, master);
+ pdev->name, master);
if (ret) {
printk(KERN_ERR PFX " unable to request irq\n");
goto out_unmap;