Re: [PATCH v5 3/8] Loongson: YeeLoong: add backlight driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2009-11-28 at 21:36 +0800, Wu Zhangjin wrote:
> From: Wu Zhangjin <wuzhangjin@xxxxxxxxx>
> 
> This patch adds YeeLoong Backlight Driver, which provides standard
> interface for user-space applications to control the brightness of the
> backlight.
> 
> Signed-off-by: Wu Zhangjin <wuzhangjin@xxxxxxxxx>
> ---
>  .../loongson/lemote-2f/yeeloong_laptop/Kconfig     |    9 ++-
>  .../loongson/lemote-2f/yeeloong_laptop/Makefile    |    2 +
>  .../loongson/lemote-2f/yeeloong_laptop/backlight.c |   93 ++++++++++++++++++++
>  .../lemote-2f/yeeloong_laptop/ec_kb3310b.h         |    1 +
>  4 files changed, 104 insertions(+), 1 deletions(-)
>  create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/backlight.c
> 
> diff --git a/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig b/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig
> index d6df9b7..02d36d8 100644
> --- a/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig
> +++ b/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig
> @@ -10,6 +10,13 @@ menuconfig LEMOTE_YEELOONG2F
>  
>  if LEMOTE_YEELOONG2F
>  
> -
> +config YEELOONG_BACKLIGHT
> +	tristate "Backlight Driver"
> +	select BACKLIGHT_CLASS_DEVICE

Will use "depend" instead in the next version.

Best Regards,
	Wu Zhangjin



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux