lkml.org 
[lkml]   [2011]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Platform: add Samsung Laptop platform driver
    On Wed, 9 Feb 2011 14:40:06 -0800 Greg KH wrote:

    > From: Greg Kroah-Hartman <gregkh@suse.de>
    >
    > This adds the samsung-laptop driver to the kernel. It now supports
    > all known Samsung laptops.
    >
    > Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    > ---
    > Documentation/ABI/testing/sysfs-driver-samsung-laptop | 19
    > drivers/platform/x86/Kconfig | 13
    > drivers/platform/x86/Makefile | 1
    > drivers/platform/x86/samsung-laptop.c | 768 ++++++++++++++++++
    > 4 files changed, 801 insertions(+)
    >
    > Matthew, this is a copy of the latest version in the linux-next tree of the
    > driver. Once it has been accepted into your tree, I'll delete the
    > staging driver. Or, if you want to give your ACK, I can just move the
    > driver from staging into this directory in my tree, which will properly
    > preserve the history of the code.


    > diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
    > index d163bc2..da9aed1 100644
    > --- a/drivers/platform/x86/Kconfig
    > +++ b/drivers/platform/x86/Kconfig
    > @@ -654,4 +654,17 @@ config XO1_RFKILL
    > Support for enabling/disabling the WLAN interface on the OLPC XO-1
    > laptop.
    >
    > +config SAMSUNG_LAPTOP
    > + tristate "Samsung Laptop driver"
    > + depends on RFKILL && BACKLIGHT_CLASS_DEVICE && X86

    This entire Kconfig file already depends on X86, so the "&& X86" above
    is redundant.

    > + ---help---
    > + This module implements a driver for a wide range of different
    > + Samsung laptops. It offers control over the different
    > + function keys, wireless LED, LCD backlight level, and
    > + sometimes provides a "performance_control" sysfs file to allow
    > + the performance level of the laptop to be changed.
    > +
    > + To compile this driver as a module, choose M here: the module
    > + will be called samsung-laptop.
    > +
    > endif # X86_PLATFORM_DEVICES


    ---
    ~Randy
    *** Remember to use Documentation/SubmitChecklist when testing your code ***


    \
     
     \ /
      Last update: 2011-02-09 23:47    [W:0.022 / U:0.768 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site