Add support for netvsc build without CONFIG_SYSFS flag
authorHaiyang Zhang <[email protected]>
Thu, 8 May 2014 22:14:10 +0000 (15:14 -0700)
committerDavid S. Miller <[email protected]>
Mon, 12 May 2014 05:02:32 +0000 (01:02 -0400)
commite565e803d437b36c4fb4ced5e346827981183284
tree44db5b9762c6d73987654570bfcacbaeb6b220b4
parentbb399fbd223f478988ede5e6f2dfcc6750bf1f05
Add support for netvsc build without CONFIG_SYSFS flag

This change ensures the driver can be built successfully without the
CONFIG_SYSFS flag.
MS-TFS: 182270

Signed-off-by: Haiyang Zhang <[email protected]>
Reviewed-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/hyperv/netvsc_drv.c