lkml.org 
[lkml]   [2011]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] Platform: samsung-laptop: add DMI information for Samsung N150 Plus
    Date
    From: Andrzej Prochyra <andrzej@prochyra.name>

    Adds DMI information for Samsung N150 Plus which identifies itself as
    "N150P" so that the driver loads and the 'acpi_backlight=vendor'
    parameter does not need to be used in order for backlight control to
    work.

    Signed-off-by: Andrzej Prochyra <andrzej@prochyra.name>
    ---
    drivers/platform/x86/samsung-laptop.c | 10 ++++++++++
    1 files changed, 10 insertions(+), 0 deletions(-)

    diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c
    index 09e26bf..e3a496a 100644
    --- a/drivers/platform/x86/samsung-laptop.c
    +++ b/drivers/platform/x86/samsung-laptop.c
    @@ -780,6 +780,16 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = {
    },
    .callback = dmi_check_cb,
    },
    + {
    + .ident = "N150P",
    + .matches = {
    + DMI_MATCH(DMI_SYS_VENDOR,
    + "SAMSUNG ELECTRONICS CO., LTD."),
    + DMI_MATCH(DMI_PRODUCT_NAME, "N150P"),
    + DMI_MATCH(DMI_BOARD_NAME, "N150P"),
    + },
    + .callback = dmi_check_cb,
    + },
    { },
    };
    MODULE_DEVICE_TABLE(dmi, samsung_dmi_table);
    --
    1.7.4.1


    \
     
     \ /
      Last update: 2011-12-22 23:23    [W:0.019 / U:0.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site