]> git.baikalelectronics.ru Git - kernel.git/commit
net: pxa168: Fix build errors by including interrupt.h
authorTanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Mon, 5 Sep 2011 19:32:04 +0000 (19:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2011 19:47:27 +0000 (15:47 -0400)
commit71f696b1e6d737494791a5ff180043e7740cdabf
tree60729cec22e2bd6d34217c36d54a883b9a4b0786
parent256dd96e310a1e33ac0e117f1fd390869c6e7260
net: pxa168: Fix build errors by including interrupt.h

Commit 28bd727b315e037b879adbaf204a9e49439978b1 removed
linux/interrupt.h from netdevice.h. This fixes below build failure

drivers/net/pxa168_eth.c: In function 'pxa168_eth_collect_events':
drivers/net/pxa168_eth.c:866: error: 'IRQ_NONE' undeclared (first use in this function)
drivers/net/pxa168_eth.c:866: error: (Each undeclared identifier is reported only once
drivers/net/pxa168_eth.c:866: error: for each function it appears in.)
drivers/net/pxa168_eth.c: At top level:
drivers/net/pxa168_eth.c:913: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pxa168_eth_int_handler'
drivers/net/pxa168_eth.c: In function 'pxa168_eth_open':
drivers/net/pxa168_eth.c:1133: error: implicit declaration of function 'request_irq'
drivers/net/pxa168_eth.c:1133: error: 'pxa168_eth_int_handler' undeclared (first use in this function)
drivers/net/pxa168_eth.c:1134: error: 'IRQF_DISABLED' undeclared (first use in this function)
drivers/net/pxa168_eth.c:1160: error: implicit declaration of function 'free_irq'

Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pxa168_eth.c