]> err.no Git - linux-2.6/commit
[PATCH] Input: add modalias support
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 7 Dec 2005 20:40:34 +0000 (21:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Jan 2006 00:18:09 +0000 (16:18 -0800)
commit1d8f430c15b3a345db990e285742c67c2f52f9a6
tree7bf8ae0929ebf581c4de68e7f4be9f6ea672d453
parent263756ec228f1cdd49fc50b1f87001a4cebdfe12
[PATCH] Input: add modalias support

Here's the patch for modalias support for input classes.  It uses
comma-separated numbers, and doesn't describe all the potential keys (no
module currently cares, and that would make the strings huge).  The
changes to input.h are to move the definitions needed by file2alias
outside __KERNEL__.  I chose not to move those definitions to
mod_devicetable.h, because there are so many that it might break compile
of something else in the kernel.

The rest is fairly straightforward.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
CC: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/input/input.c
include/linux/input.h
scripts/mod/file2alias.c