mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
request irq with the platform driver name instead of bus_id which is being removed in newer kernels
SVN-Revision: 16932
This commit is contained in:
parent
c3aa860a11
commit
43a3f9555a
@ -335,7 +335,7 @@ static int __init bcm63xx_spi_probe(struct platform_device *pdev)
|
|||||||
bs->fifo_size = pdata->fifo_size;
|
bs->fifo_size = pdata->fifo_size;
|
||||||
|
|
||||||
ret = request_irq(irq, bcm63xx_spi_interrupt, 0,
|
ret = request_irq(irq, bcm63xx_spi_interrupt, 0,
|
||||||
pdev->dev.bus_id, master);
|
pdev->name, master);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printk(KERN_ERR PFX " unable to request irq\n");
|
printk(KERN_ERR PFX " unable to request irq\n");
|
||||||
goto out_unmap;
|
goto out_unmap;
|
||||||
|
Loading…
Reference in New Issue
Block a user