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
master
John Crispin 10 years ago
parent 118534ea39
commit 4a7c88f139
  1. 2
      target/linux/generic/patches-3.14/834-ledtrig-libata.patch
  2. 2
      target/linux/generic/patches-3.18/834-ledtrig-libata.patch

@ -138,7 +138,7 @@ index 2d18241..4428e2b 100644
#include <linux/acpi.h> #include <linux/acpi.h>
#include <linux/cdrom.h> #include <linux/cdrom.h>
#include <linux/sched.h> #include <linux/sched.h>
+#if IS_ENABLED(CONFIG_ATA_LEDS) +#ifdef CONFIG_ATA_LEDS
+#include <linux/leds.h> +#include <linux/leds.h>
+#endif +#endif

@ -138,7 +138,7 @@ index 2d18241..4428e2b 100644
#include <linux/acpi.h> #include <linux/acpi.h>
#include <linux/cdrom.h> #include <linux/cdrom.h>
#include <linux/sched.h> #include <linux/sched.h>
+#if IS_ENABLED(CONFIG_ATA_LEDS) +#ifdef CONFIG_ATA_LEDS
+#include <linux/leds.h> +#include <linux/leds.h>
+#endif +#endif

Loading…
Cancel
Save