On Mon, 2009-11-30 at 13:19 +0800, Wu Zhangjin wrote: > On Sat, 2009-11-28 at 21:41 +0800, Wu Zhangjin wrote: > > From: Wu Zhangjin <wuzhangjin@xxxxxxxxx> > > > > This patch adds Video Output Driver, which provides standard interface > > to turn on/off the video output of LCD, CRT. > > > > Signed-off-by: Wu Zhangjin <wuzhangjin@xxxxxxxxx> > > --- > > .../loongson/lemote-2f/yeeloong_laptop/Kconfig | 8 + > > .../loongson/lemote-2f/yeeloong_laptop/Makefile | 1 + > > .../lemote-2f/yeeloong_laptop/ec_kb3310b.h | 3 + > > .../lemote-2f/yeeloong_laptop/video_output.c | 164 ++++++++++++++++++++ > > 4 files changed, 176 insertions(+), 0 deletions(-) > > create mode 100644 arch/mips/loongson/lemote-2f/yeeloong_laptop/video_output.c > > > > diff --git a/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig b/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig > > index 56cb584..c4398ff 100644 > > --- a/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig > > +++ b/arch/mips/loongson/lemote-2f/yeeloong_laptop/Kconfig > > @@ -37,4 +37,12 @@ config YEELOONG_HWMON > > interface for lm-sensors to monitor the temperatures of CPU and > > battery, the PWM of fan, the current, voltage of battery. > > > > +config YEELOONG_VO > > + tristate "Video Output Driver" > > + select VIDEO_OUTPUT_CONTROL > > Will use "depend" instead in the next version. > Sorry to disturb you, this also must be "select", and the same to BACKLIGHT_CLASS_DEVICE. > Regards, > Wu Zhangjin