lkml.org 
[lkml]   [2009]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH V5 0/2] Ambient Light Sensor support
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...

--
Dmitry

ACPI: als - fix compile errors

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>

PREFIX was undefined causing compiler to barf.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---

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"
#define ACPI_ALS_NOTIFY_ILLUMINANCE 0x80

\
 
 \ /
  Last update: 2009-09-01 08:31    [W:0.934 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site