]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
fm10k: IS_ENABLED() is not appropriate for boolean kconfig option
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 9 Dec 2015 01:20:49 +0000 (17:20 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Dec 2015 13:23:17 +0000 (05:23 -0800)
commit0d722ec8bf46cb6547d10e8c5d9b8b6498bc7f97
tree258fb6fca462892db071443ece80d5944551186c
parentf632fed30f8e0c1b5c9de209f00145f516e7ad37
fm10k: IS_ENABLED() is not appropriate for boolean kconfig option

Tri-states need 'if IS_ENABLED()', booleans should use 'ifdef'.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c