From: Randy Dunlap Date: Mon, 26 Oct 2009 12:09:45 +0000 (+0000) Subject: netxen: fix builds for SYSFS=n or MODULES=n X-Git-Tag: v2.6.33-rc1~388^2~672 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0531d7b85177cda05f574ddf0aa4b25050159101;p=pandora-kernel.git netxen: fix builds for SYSFS=n or MODULES=n When CONFIG_MODULES=n: drivers/net/netxen/netxen_nic_main.c:2751: error: dereferencing pointer to incomplete type drivers/net/netxen/netxen_nic_main.c:2764: error: dereferencing pointer to incomplete type Also needs addition of for sysfs function prototypes or stubs when CONFIG_SYSFS=n. Signed-off-by: Randy Dunlap Acked-by: Dhananjay Phadke Signed-off-by: David S. Miller --- Reading git-diff-tree failed