[2.6 patch] drivers/net/tlan.c: #ifdef CONFIG_PCI the PCI specific code

2006-02-04 Thread Adrian Bunk
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 <[EMAIL PROTECTED]

[2.6 patch] drivers/net/tlan.c: #ifdef CONFIG_PCI the PCI specific code

2006-01-30 Thread Adrian Bunk
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 <[EMAIL PROTECTED]