lkml.org 
[lkml]   [2009]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH -mmotm] cmpc_acpi: depends on ACPI
    On Fri, Oct 09, 2009 at 04:10:36PM -0700, Randy Dunlap wrote:
    > From: Randy Dunlap <randy.dunlap@oracle.com>
    >
    > Fix about 100 build errors/warnings when ACPI is not enabled. E.g.:
    >
    > drivers/platform/x86/cmpc_acpi.c:50: error: dereferencing pointer to incomplete type
    > drivers/platform/x86/cmpc_acpi.c:55: error: dereferencing pointer to incomplete type
    > drivers/platform/x86/cmpc_acpi.c:56: error: dereferencing pointer to incomplete type
    > drivers/platform/x86/cmpc_acpi.c:72: warning: 'struct acpi_device' declared inside parameter list
    > drivers/platform/x86/cmpc_acpi.c:77: error: dereferencing pointer to incomplete type
    > drivers/platform/x86/cmpc_acpi.c:79: error: dereferencing pointer to incomplete type
    >
    > Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>

    Acked-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>

    > ---
    > drivers/platform/x86/Kconfig | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)
    >
    > --- mmotm-2009-1009-0107.orig/drivers/platform/x86/Kconfig
    > +++ mmotm-2009-1009-0107/drivers/platform/x86/Kconfig
    > @@ -438,7 +438,7 @@ config ACPI_TOSHIBA
    >
    > config ACPI_CMPC
    > tristate "CMPC Laptop Extras"
    > - depends on X86
    > + depends on X86 && ACPI
    > select INPUT
    > select BACKLIGHT_CLASS_DEVICE
    > default n
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2009-10-11 17:11    [W:3.399 / U:0.336 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site