request irq with the platform driver name instead of bus_id which is being removed in newer kernels

SVN-Revision: 16932
lede-17.01
Florian Fainelli 2009-07-20 10:52:08 +00:00
parent c3aa860a11
commit 43a3f9555a
1 changed files with 1 additions and 1 deletions

View File

@ -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;