netxen: fix builds for SYSFS=n or MODULES=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 26 Oct 2009 12:09:45 +0000 (12:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2009 09:36:24 +0000 (02:36 -0700)
commit0531d7b85177cda05f574ddf0aa4b25050159101
tree3ae80d666da366187fafc4bcd514fe41c0ae804c
parenteef6dd65e331d6e91a39b90344c705bbcbe0825e
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 <linux/sysfs.h> for sysfs function prototypes or
stubs when CONFIG_SYSFS=n.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c