]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] drivers/net/tlan.c: #ifdef CONFIG_PCI the PCI specific code
authorAdrian Bunk <bunk@stusta.de>
Sat, 4 Feb 2006 23:37:47 +0000 (00:37 +0100)
committerJeff Garzik <jeff@garzik.org>
Fri, 24 Feb 2006 05:20:08 +0000 (00:20 -0500)
commitbee311fed99a6d74529762f3737738e512cdcaed
treeac693004a23586ab8294c46a0eb19903547aa518
parent1bc4e4d16a29a5ed677450512fa31cf10745b830
[PATCH] drivers/net/tlan.c: #ifdef CONFIG_PCI the PCI specific code

drivers/net/tlan.c compiles with CONFIG_PCI=n only with a warning and
due to the dead code elimination of gcc.

Additionally, this fixes the only compile error I found with
CONFIG_PCI=n and the gcc -Werror-implicit-function-declaration
flag on i386.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/tlan.c