diff mbox

[OpenWrt-Devel] kernel/generic: remove some left-over garbage from ledtrig patch

Message ID 20141212212148.GA4434@makrotopia.org
State Accepted
Delegated to: John Crispin
Headers show

Commit Message

Daniel Golle Dec. 12, 2014, 9:21 p.m. UTC
cosmetics. clean a style issue introduced by r43674.

Signed-off-by: Daniel Golle <daniel@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 mbox

Patch

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