summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/lifebook.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-29 23:19:31 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-12-29 23:20:22 -0800
commit614af4eeb9e89806c001dab50c59e11f40753601 (patch)
tree153a4139fcbfa2fbaf692ea62d2e7398491edbf5 /drivers/input/mouse/lifebook.c
parente97006ae1c87f9630b6f5c4d4384921059d881a8 (diff)
downloadblackbird-op-linux-614af4eeb9e89806c001dab50c59e11f40753601.tar.gz
blackbird-op-linux-614af4eeb9e89806c001dab50c59e11f40753601.zip
Input: lifebook - add CONFIG_DMI dependency
Lifebook protocol can only be activated if we find known DMI signature. It is useles without DMI. Reported-by: Rakib Mullick <rakib.mullick@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/lifebook.c')
-rw-r--r--drivers/input/mouse/lifebook.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/mouse/lifebook.c b/drivers/input/mouse/lifebook.c
index 2e6bdfea0165..6d7aa10d10f0 100644
--- a/drivers/input/mouse/lifebook.c
+++ b/drivers/input/mouse/lifebook.c
@@ -44,7 +44,6 @@ static int lifebook_set_6byte_proto(const struct dmi_system_id *d)
}
static const struct dmi_system_id __initconst lifebook_dmi_table[] = {
-#if defined(CONFIG_DMI) && defined(CONFIG_X86)
{
/* FLORA-ie 55mi */
.matches = {
@@ -118,7 +117,6 @@ static const struct dmi_system_id __initconst lifebook_dmi_table[] = {
},
},
{ }
-#endif
};
void __init lifebook_module_init(void)
OpenPOWER on IntegriCloud