From: Márton Németh The leds-clevo-mail module also works with model "Clevo D400P", add this model to the white list. Signed-off-by: Márton Németh Cc: Andrey Kamenov Cc: Richard Purdie Signed-off-by: Andrew Morton --- drivers/leds/Kconfig | 4 ++++ drivers/leds/leds-clevo-mail.c | 10 ++++++++++ 2 files changed, 14 insertions(+) diff -puN drivers/leds/Kconfig~leds-add-mail-led-support-for-clevo-d400p drivers/leds/Kconfig --- a/drivers/leds/Kconfig~leds-add-mail-led-support-for-clevo-d400p +++ a/drivers/leds/Kconfig @@ -135,6 +135,7 @@ config LEDS_CLEVO_MAIL This module can drive the mail LED for the following notebooks: + Clevo D400P Clevo D410J Clevo D410V Clevo D400V/D470V (not tested, but might work) @@ -142,6 +143,9 @@ config LEDS_CLEVO_MAIL Clevo M5x0N (not tested, but might work) Positivo Mobile (Clevo M5x0V) + If your model is not listed here you can try the "nodetect" + module paramter. + To compile this driver as a module, choose M here: the module will be called leds-clevo-mail. diff -puN drivers/leds/leds-clevo-mail.c~leds-add-mail-led-support-for-clevo-d400p drivers/leds/leds-clevo-mail.c --- a/drivers/leds/leds-clevo-mail.c~leds-add-mail-led-support-for-clevo-d400p +++ a/drivers/leds/leds-clevo-mail.c @@ -69,6 +69,16 @@ static struct dmi_system_id __initdata m }, { .callback = clevo_mail_led_dmi_callback, + .ident = "Clevo D400P", + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "Clevo"), + DMI_MATCH(DMI_BOARD_NAME, "D400P"), + DMI_MATCH(DMI_BOARD_VERSION, "Rev.A"), + DMI_MATCH(DMI_PRODUCT_VERSION, "0106") + } + }, + { + .callback = clevo_mail_led_dmi_callback, .ident = "Clevo D410V", .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Clevo, Co."), _