From: Dmitry Torokhov Subject: Re: [PATCH V5 0/2] Ambient Light Sensor support Date: Mon, 31 Aug 2009 23:28:49 -0700 Message-ID: <20090901070129.F402D526EA5@mailhub.coreip.homeip.net> References: <1251706025.3483.159.camel@rzhang-dt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Len Brown Cc: Zhang Rui , linux-acpi , Linux Kernel Mailing List , Greg KH , Pavel Machek List-Id: linux-acpi@vger.kernel.org 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 PREFIX was undefined causing compiler to barf. Signed-off-by: Dmitry Torokhov --- 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 #include +#define PREFIX "ACPI: " + #define ACPI_ALS_CLASS "als" #define ACPI_ALS_DEVICE_NAME "Ambient Light Sensor" #define ACPI_ALS_NOTIFY_ILLUMINANCE 0x80