projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[brcm63xx] request irq with the platform driver name instead of bus_id which is being...
[openwrt.git]
/
target
/
linux
/
brcm63xx
/
files
/
drivers
/
spi
/
bcm63xx_spi.c
diff --git
a/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c
b/target/linux/brcm63xx/files/drivers/spi/bcm63xx_spi.c
index
b79b7f5
..
bd75b8c
100644
(file)
--- 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,
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;
if (ret) {
printk(KERN_ERR PFX " unable to request irq\n");
goto out_unmap;
@@
-350,7
+350,7
@@
static int __init bcm63xx_spi_probe(struct platform_device *pdev)
bcm_spi_writew(SPI_CMD_HARD_RESET, bs->regs, SPI_CMD);
bcm_spi_writeb(SPI_INTR_CLEAR_ALL, bs->regs, SPI_INT_MASK);
bcm_spi_writew(SPI_CMD_HARD_RESET, bs->regs, SPI_CMD);
bcm_spi_writeb(SPI_INTR_CLEAR_ALL, bs->regs, SPI_INT_MASK);
- dev_info(&pdev->dev,
PFX
" at 0x%08x (irq %d, FIFOs size %d) v%s\n",
+ dev_info(&pdev->dev, " at 0x%08x (irq %d, FIFOs size %d) v%s\n",
r->start, irq, bs->fifo_size, DRV_VER);
ret = spi_bitbang_start(&bs->bitbang);
r->start, irq, bs->fifo_size, DRV_VER);
ret = spi_bitbang_start(&bs->bitbang);
This page took
0.023508 seconds
and
4
git commands to generate.