lkml.org 
[lkml]   [2009]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [PATCH] wistron_btns.c: Add DMI entry for Medion WIM2030 laptop
Date
Am Samstag, 19. September 2009 15:26:50 schrieb Daniel Walker:
> On Sat, 2009-09-19 at 12:43 +0200, Sebastian Frei wrote:
> > This patch adds a DMI entry for the Medion WIM2030 laptop.
> >
> > Signed-off-by: Sebastian Frei <dr.nop@gmx.net>
> >
> > --- linux-2.6.31.orig/drivers/input/misc/wistron_btns.c
> > +++ linux-2.6.31/drivers/input/misc/wistron_btns.c
> > @@ -669,6 +669,15 @@
> > },
> > {
> > .callback = dmi_matched,
> > + .ident = "Medion MD 42200",
> > + .matches = {
> > + DMI_MATCH(DMI_SYS_VENDOR, "Medion"),
> > + DMI_MATCH(DMI_PRODUCT_NAME, "WIM 2030"),
> > + },
> > + .driver_data = keymap_fs_amilo_pro_v2000
> > + },
> > + {
> > + .callback = dmi_matched,
> > .ident = "Fujitsu N3510",
> > .matches = {
> > DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
>
> Form email below (your the second person to do this today),
>
> Your patch is whitespace damaged .. All the tabs have been removed from
> your code, and the context code in the patch. That usually means the
> patch can't be applied .. It can happen when you X copy&paste the patch
> into an email. If your using quilt you can use "quilt mail" , or have
> your mailer "insert text file" instead of copy&paste.
>
> Daniel
>
Next try, this time with tab stops:

Signed-off-by: Sebastian Frei <dr.nop@gmx.net>

--- linux-2.6.31/drivers/input/misc/wistron_btns.c.orig 2008-09-12
20:47:24.000000000 +0200
+++ linux-2.6.31/drivers/input/misc/wistron_btns.c 2008-03-13
22:18:02.000000000 +0100
@@ -669,6 +669,15 @@
},
{
.callback = dmi_matched,
+ .ident = "Medion MD 42200",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Medion"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "WIM 2030"),
+ },
+ .driver_data = keymap_fs_amilo_pro_v2000
+ },
+ {
+ .callback = dmi_matched,
.ident = "Fujitsu N3510",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),

\
 
 \ /
  Last update: 2009-09-19 16:59    [W:0.383 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site