kernel/generic: fix warnings if libata-ledtrig is disabled
authorFelix Fietkau <nbd@openwrt.org>
Sat, 27 Dec 2014 13:02:58 +0000 (13:02 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 27 Dec 2014 13:02:58 +0000 (13:02 +0000)
commit604fc8faf546ce85c8c6a5204f4dcbd3e5cef8f5
tree44ea1ba8945d18dc11843298cac9b4bb063f2b11
parentf38436f607555351bcefcd7cc6497b000ee79381
kernel/generic: fix warnings if libata-ledtrig is disabled

accidentally #if was used instead of #ifdef, thus gcc warned
about CONFIG_ATA_LEDS being undefined...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43786
target/linux/generic/patches-3.14/834-ledtrig-libata.patch
target/linux/generic/patches-3.18/834-ledtrig-libata.patch