]> git.baikalelectronics.ru Git - kernel.git/commit
net: sh_eth: Fix build by forgot including linux/interrupt.h
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Tue, 9 Aug 2011 20:15:50 +0000 (20:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Aug 2011 01:00:32 +0000 (18:00 -0700)
commit246bb584539a95f9efe5578b6b5938b9d6cd3aa9
treec675694a85a2bb2bf7d4321c4483fc0d86508552
parent82644d443af4562a8199fb58f9475863a02b7e95
net: sh_eth: Fix build by forgot including linux/interrupt.h

By 742b7277de34a9dde55ba1889589a058179aaf47, remove interrupt.h
from netdevice.h. But this forget to revise sh_eth.

This fix the build failure.

error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sh_eth_interrupt'
error: implicit declaration of function 'request_irq'
error: 'sh_eth_interrupt' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
drivers/net/sh_eth.c:1386: error: for each function it appears in.)
error: 'IRQF_SHARED' undeclared (first use in this function)
error: implicit declaration of function 'free_irq'

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
CC: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sh_eth.c