[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)
commitad9f6713ae59f319ed676c2d014a7756b62f1c51
treeac693004a23586ab8294c46a0eb19903547aa518
parent22fe472cb430ce45c4fb9b6d13060dd724d6dbc8
[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