From 4a7c88f139d0aa885b8d8f9e653c220b70a0c089 Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Sat, 13 Dec 2014 08:00:22 +0000
Subject: [PATCH] kernel/generic: remove some left-over garbage from ledtrig
 patch

cosmetics. clean a style issue introduced by r43674.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43676
---
 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 23663de575..b015d7a2fb 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 23663de575..b015d7a2fb 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
  
-- 
GitLab