From d40c61748b6bc823d0043fb24c19976f18246864 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sat, 4 Oct 2003 13:16:04 +0100 Subject: [PATCH] [ARM] leds.c, being so basic, needs linux/compiler.h linux/init.h doesn't include linux/compiler.h, but needs some definitions (the __attribute_unused__ stuff) from compiler.h. Since this affects only two files, we include linux/compiler.h directly into the affected files. --- arch/arm/mach-pxa/leds.c | 1 + arch/arm/mach-sa1100/leds.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/mach-pxa/leds.c b/arch/arm/mach-pxa/leds.c index b897be63889a3..2f51b6b6c0b84 100644 --- a/arch/arm/mach-pxa/leds.c +++ b/arch/arm/mach-pxa/leds.c @@ -7,6 +7,7 @@ * * Copyright (c) 2001 Jeff Sutherland, Accelent Systems Inc. */ +#include #include #include diff --git a/arch/arm/mach-sa1100/leds.c b/arch/arm/mach-sa1100/leds.c index 0a034f7923eb7..4cf7c565aaedf 100644 --- a/arch/arm/mach-sa1100/leds.c +++ b/arch/arm/mach-sa1100/leds.c @@ -5,6 +5,7 @@ * * Copyright (C) 2001 Nicolas Pitre */ +#include #include #include -- 2.53.0