]> git.baikalelectronics.ru Git - kernel.git/commit
can: sja1000: fix compilation on x86
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 14 Dec 2012 12:25:12 +0000 (12:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2012 01:14:38 +0000 (17:14 -0800)
commit5e90b45236f828f7582e0af999fa2187e4335722
tree4f53271384d988921686a3fed53ed39bf951179d
parent117fe1275e508ce0c3ed3252b9e37dace28ee258
can: sja1000: fix compilation on x86

Since commit:
f5ebbfe can: sja1000: Make sja1000_of_platform selectable and compilable on SPARC
the driver can be activated on non powerpc platform like x86 or sparc. Without
this patch the driver fails to compile on platform that don't define NO_IRQ,
like x86.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/sja1000/sja1000_of_platform.c