summaryrefslogtreecommitdiffstats
path: root/drivers/net/myri_sbus.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-11-16 05:27:51 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-18 10:47:42 -0800
commitd530db0db90378b5674cb78d9c0cfcc83f851a5e (patch)
tree094638394270074f85e6aa6e2a89e00f0e92cb86 /drivers/net/myri_sbus.c
parent1aa46ec91cfd3cc4ab19780f664a3d089bb67173 (diff)
downloadtalos-obmc-linux-d530db0db90378b5674cb78d9c0cfcc83f851a5e.tar.gz
talos-obmc-linux-d530db0db90378b5674cb78d9c0cfcc83f851a5e.zip
3c59x: fix build failure on !CONFIG_PCI
VORTEX_PCI() could return NULL so it needs to be casted before accessing any member of struct pci_dev. This fixes following build failure. Likewise VORTEX_EISA() was changed also. CC [M] drivers/net/3c59x.o drivers/net/3c59x.c: In function 'acpi_set_WOL': drivers/net/3c59x.c:3211:39: warning: dereferencing 'void *' pointer drivers/net/3c59x.c:3211:39: error: request for member 'current_state' in something not a structure or union make[3]: *** [drivers/net/3c59x.o] Error 1 make[2]: *** [drivers/net/3c59x.o] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/myri_sbus.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud