[OpenWrt-Devel] [PATCH] kernel/generic: remove some left-over garbage from ledtrig patch
Daniel Golle
daniel at makrotopia.org
Fri Dec 12 16:21:53 EST 2014
cosmetics. clean a style issue introduced by r43674.
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
target/linux/generic/patches-3.14/834-ledtrig-libata.patch | 2 +-
target/linux/generic/patches-3.18/834-ledtrig-libata.patch | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/generic/patches-3.14/834-ledtrig-libata.patch b/target/linux/generic/patches-3.14/834-ledtrig-libata.patch
index 23663de..b015d7a 100644
--- a/target/linux/generic/patches-3.14/834-ledtrig-libata.patch
+++ b/target/linux/generic/patches-3.14/834-ledtrig-libata.patch
@@ -138,7 +138,7 @@ index 2d18241..4428e2b 100644
#include <linux/acpi.h>
#include <linux/cdrom.h>
#include <linux/sched.h>
-+#if IS_ENABLED(CONFIG_ATA_LEDS)
++#ifdef CONFIG_ATA_LEDS
+#include <linux/leds.h>
+#endif
diff --git a/target/linux/generic/patches-3.18/834-ledtrig-libata.patch b/target/linux/generic/patches-3.18/834-ledtrig-libata.patch
index 23663de..b015d7a 100644
--- a/target/linux/generic/patches-3.18/834-ledtrig-libata.patch
+++ b/target/linux/generic/patches-3.18/834-ledtrig-libata.patch
@@ -138,7 +138,7 @@ index 2d18241..4428e2b 100644
#include <linux/acpi.h>
#include <linux/cdrom.h>
#include <linux/sched.h>
-+#if IS_ENABLED(CONFIG_ATA_LEDS)
++#ifdef CONFIG_ATA_LEDS
+#include <linux/leds.h>
+#endif
--
2.1.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list