Re: [patch 2/2] Add a driver for the Winbond WPCD376I Consumer IR hardware

From: Bjorn Helgaas
Date: Mon Aug 10 2009 - 11:40:33 EST


On Sunday 09 August 2009 03:56:47 am david@xxxxxxxxxxx wrote:
> --- linux-2.6.orig/drivers/input/misc/Kconfig 2009-07-25 21:18:57.000000000 +0200
> +++ linux-2.6/drivers/input/misc/Kconfig 2009-08-07 21:45:41.000000000 +0200
> @@ -222,6 +222,22 @@
> To compile this driver as a module, choose M here: the
> module will be called sgi_btns.
>
> +config INPUT_WINBOND_CIR
> + tristate "Winbond IR remote control"
> + depends on X86 && ACPI

This should depend on PNP, not ACPI.

> +#define WBCIR_ACPI_NAME "Winbond CIR"

You might remove "ACPI" from "WBCIR_ACPI_NAME," since it has nothing
to do with ACPI.

Otherwise, looks good to me.

Bjorn


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/