diff options
author | Randy Dunlap <[email protected]> | 2010-04-21 14:32:47 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-04-22 07:20:00 -0700 |
commit | 74a920139a0f1119c5a604cef0ce5d6f591dc782 (patch) | |
tree | efe5113cd18feaf227fd334caaa9c167519c5563 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 5e31877b647bf41ad080adad6100a617ed4c6be4 (diff) |
staging: fix dt3155 build
When the dt3155 driver is built-in (not as a loadable module),
these build errors happen:
drivers/staging/dt3155/dt3155_drv.c:1047: error: implicit declaration of function 'request_irq'
drivers/staging/dt3155/dt3155_drv.c:1048: error: 'IRQF_SHARED' undeclared (first use in this function)
drivers/staging/dt3155/dt3155_drv.c:1048: error: 'IRQF_DISABLED' undeclared (first use in this function)
drivers/staging/dt3155/dt3155_drv.c:1091: error: implicit declaration of function 'free_irq'
so remove the #ifdef MODULE check since it's not needed. Also remove
the CONFIG_PCI check since the Kconfig file already requires that.
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Scott Smedley <[email protected]>
Tested-by: Jan III Sobieski <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions