Re: [PATCH V5 0/2] Ambient Light Sensor support

From: Dmitry Torokhov
Date: Tue Sep 01 2009 - 02:29:51 EST

On Mon, Aug 31, 2009 at 01:04:35PM -0400, Len Brown wrote:
> I put this in the acpi test tree, with the expectation
> that it will have at least one minor revision update
> before going upstream.
> thanks,
> Len Brown, Intel Open Source Technology Center

Breaks build here...


ACPI: als - fix compile errors

From: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

PREFIX was undefined causing compiler to barf.

Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>

drivers/acpi/als.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/acpi/als.c b/drivers/acpi/als.c
index 6743ba7..51583a8 100644
--- a/drivers/acpi/als.c
+++ b/drivers/acpi/als.c
@@ -30,6 +30,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>

+#define PREFIX "ACPI: "
#define ACPI_ALS_CLASS "als"
#define ACPI_ALS_DEVICE_NAME "Ambient Light Sensor"
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at