diff options
| author | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-06 14:42:52 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-06 14:42:52 -0500 |
| commit | ff4b8a57f0aaa2882d444ca44b2b9b333d22a4df (patch) | |
| tree | d851c923f85566572112d4c0f884cff388a3cc05 /drivers/input/tablet | |
| parent | 805a6af8dba5dfdd35ec35dc52ec0122400b2610 (diff) | |
| parent | ea04018e6bc5ddb2f0466c0e5b986bd4901b7e8e (diff) | |
Merge branch 'driver-core-next' into Linux 3.2
This resolves the conflict in the arch/arm/mach-s3c64xx/s3c6400.c file,
and it fixes the build error in the arch/x86/kernel/microcode_core.c
file, that the merge did not catch.
The microcode_core.c patch was provided by Stephen Rothwell
<sfr@canb.auug.org.au> who was invaluable in the merge issues involved
with the large sysdev removal process in the driver-core tree.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/input/tablet')
| -rw-r--r-- | drivers/input/tablet/acecad.c | 17 | ||||
| -rw-r--r-- | drivers/input/tablet/aiptek.c | 19 | ||||
| -rw-r--r-- | drivers/input/tablet/gtco.c | 28 | ||||
| -rw-r--r-- | drivers/input/tablet/hanwang.c | 13 | ||||
| -rw-r--r-- | drivers/input/tablet/kbtab.c | 20 | ||||
| -rw-r--r-- | drivers/input/tablet/wacom_sys.c | 19 |
6 files changed, 6 insertions, 110 deletions
diff --git a/drivers/input/tablet/acecad.c b/drivers/input/tablet/acecad.c index d94f7e9aa997..f8b0b1df9138 100644 --- a/drivers/input/tablet/acecad.c +++ b/drivers/input/tablet/acecad.c | |||
| @@ -269,19 +269,4 @@ static struct usb_driver usb_acecad_driver = { | |||
| 269 | .id_table = usb_acecad_id_table, | 269 | .id_table = usb_acecad_id_table, |
| 270 | }; | 270 | }; |
| 271 | 271 | ||
| 272 | static int __init usb_acecad_init(void) | 272 | module_usb_driver(usb_acecad_driver); |
| 273 | { | ||
| 274 | int result = usb_register(&usb_acecad_driver); | ||
| 275 | if (result == 0) | ||
| 276 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" | ||
| 277 | DRIVER_DESC "\n"); | ||
| 278 | return result; | ||
| 279 | } | ||
| 280 | |||
| 281 | static void __exit usb_acecad_exit(void) | ||
| 282 | { | ||
| 283 | usb_deregister(&usb_acecad_driver); | ||
| 284 | } | ||
| 285 | |||
| 286 | module_init(usb_acecad_init); | ||
| 287 | module_exit(usb_acecad_exit); | ||
diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c index 6d89fd1842c3..d5ef3debd045 100644 --- a/drivers/input/tablet/aiptek.c +++ b/drivers/input/tablet/aiptek.c | |||
| @@ -1919,21 +1919,7 @@ static struct usb_driver aiptek_driver = { | |||
| 1919 | .id_table = aiptek_ids, | 1919 | .id_table = aiptek_ids, |
| 1920 | }; | 1920 | }; |
| 1921 | 1921 | ||
| 1922 | static int __init aiptek_init(void) | 1922 | module_usb_driver(aiptek_driver); |
| 1923 | { | ||
| 1924 | int result = usb_register(&aiptek_driver); | ||
| 1925 | if (result == 0) { | ||
| 1926 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" | ||
| 1927 | DRIVER_DESC "\n"); | ||
| 1928 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_AUTHOR "\n"); | ||
| 1929 | } | ||
| 1930 | return result; | ||
| 1931 | } | ||
| 1932 | |||
| 1933 | static void __exit aiptek_exit(void) | ||
| 1934 | { | ||
| 1935 | usb_deregister(&aiptek_driver); | ||
| 1936 | } | ||
| 1937 | 1923 | ||
| 1938 | MODULE_AUTHOR(DRIVER_AUTHOR); | 1924 | MODULE_AUTHOR(DRIVER_AUTHOR); |
| 1939 | MODULE_DESCRIPTION(DRIVER_DESC); | 1925 | MODULE_DESCRIPTION(DRIVER_DESC); |
| @@ -1943,6 +1929,3 @@ module_param(programmableDelay, int, 0); | |||
| 1943 | MODULE_PARM_DESC(programmableDelay, "delay used during tablet programming"); | 1929 | MODULE_PARM_DESC(programmableDelay, "delay used during tablet programming"); |
| 1944 | module_param(jitterDelay, int, 0); | 1930 | module_param(jitterDelay, int, 0); |
| 1945 | MODULE_PARM_DESC(jitterDelay, "stylus/mouse settlement delay"); | 1931 | MODULE_PARM_DESC(jitterDelay, "stylus/mouse settlement delay"); |
| 1946 | |||
| 1947 | module_init(aiptek_init); | ||
| 1948 | module_exit(aiptek_exit); | ||
diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c index 8ea6afe2e992..89a297801dce 100644 --- a/drivers/input/tablet/gtco.c +++ b/drivers/input/tablet/gtco.c | |||
| @@ -1022,33 +1022,7 @@ static struct usb_driver gtco_driverinfo_table = { | |||
| 1022 | .disconnect = gtco_disconnect, | 1022 | .disconnect = gtco_disconnect, |
| 1023 | }; | 1023 | }; |
| 1024 | 1024 | ||
| 1025 | /* | 1025 | module_usb_driver(gtco_driverinfo_table); |
| 1026 | * Register this module with the USB subsystem | ||
| 1027 | */ | ||
| 1028 | static int __init gtco_init(void) | ||
| 1029 | { | ||
| 1030 | int error; | ||
| 1031 | |||
| 1032 | error = usb_register(>co_driverinfo_table); | ||
| 1033 | if (error) { | ||
| 1034 | err("usb_register() failed rc=0x%x", error); | ||
| 1035 | return error; | ||
| 1036 | } | ||
| 1037 | |||
| 1038 | printk("GTCO usb driver version: %s", GTCO_VERSION); | ||
| 1039 | return 0; | ||
| 1040 | } | ||
| 1041 | |||
| 1042 | /* | ||
| 1043 | * Deregister this module with the USB subsystem | ||
| 1044 | */ | ||
| 1045 | static void __exit gtco_exit(void) | ||
| 1046 | { | ||
| 1047 | usb_deregister(>co_driverinfo_table); | ||
| 1048 | } | ||
| 1049 | |||
| 1050 | module_init(gtco_init); | ||
| 1051 | module_exit(gtco_exit); | ||
| 1052 | 1026 | ||
| 1053 | MODULE_DESCRIPTION("GTCO digitizer USB driver"); | 1027 | MODULE_DESCRIPTION("GTCO digitizer USB driver"); |
| 1054 | MODULE_LICENSE("GPL"); | 1028 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/input/tablet/hanwang.c b/drivers/input/tablet/hanwang.c index 6504b627b234..b2db3cfe3084 100644 --- a/drivers/input/tablet/hanwang.c +++ b/drivers/input/tablet/hanwang.c | |||
| @@ -432,15 +432,4 @@ static struct usb_driver hanwang_driver = { | |||
| 432 | .id_table = hanwang_ids, | 432 | .id_table = hanwang_ids, |
| 433 | }; | 433 | }; |
| 434 | 434 | ||
| 435 | static int __init hanwang_init(void) | 435 | module_usb_driver(hanwang_driver); |
| 436 | { | ||
| 437 | return usb_register(&hanwang_driver); | ||
| 438 | } | ||
| 439 | |||
| 440 | static void __exit hanwang_exit(void) | ||
| 441 | { | ||
| 442 | usb_deregister(&hanwang_driver); | ||
| 443 | } | ||
| 444 | |||
| 445 | module_init(hanwang_init); | ||
| 446 | module_exit(hanwang_exit); | ||
diff --git a/drivers/input/tablet/kbtab.c b/drivers/input/tablet/kbtab.c index 290f4e57b589..85a5b40333ac 100644 --- a/drivers/input/tablet/kbtab.c +++ b/drivers/input/tablet/kbtab.c | |||
| @@ -198,22 +198,4 @@ static struct usb_driver kbtab_driver = { | |||
| 198 | .id_table = kbtab_ids, | 198 | .id_table = kbtab_ids, |
| 199 | }; | 199 | }; |
| 200 | 200 | ||
| 201 | static int __init kbtab_init(void) | 201 | module_usb_driver(kbtab_driver); |
| 202 | { | ||
| 203 | int retval; | ||
| 204 | retval = usb_register(&kbtab_driver); | ||
| 205 | if (retval) | ||
| 206 | goto out; | ||
| 207 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" | ||
| 208 | DRIVER_DESC "\n"); | ||
| 209 | out: | ||
| 210 | return retval; | ||
| 211 | } | ||
| 212 | |||
| 213 | static void __exit kbtab_exit(void) | ||
| 214 | { | ||
| 215 | usb_deregister(&kbtab_driver); | ||
| 216 | } | ||
| 217 | |||
| 218 | module_init(kbtab_init); | ||
| 219 | module_exit(kbtab_exit); | ||
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c index 1c1b7b43cf92..8f9cde3e0ec2 100644 --- a/drivers/input/tablet/wacom_sys.c +++ b/drivers/input/tablet/wacom_sys.c | |||
| @@ -919,21 +919,4 @@ static struct usb_driver wacom_driver = { | |||
| 919 | .supports_autosuspend = 1, | 919 | .supports_autosuspend = 1, |
| 920 | }; | 920 | }; |
| 921 | 921 | ||
| 922 | static int __init wacom_init(void) | 922 | module_usb_driver(wacom_driver); |
| 923 | { | ||
| 924 | int result; | ||
| 925 | |||
| 926 | result = usb_register(&wacom_driver); | ||
| 927 | if (result == 0) | ||
| 928 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" | ||
| 929 | DRIVER_DESC "\n"); | ||
| 930 | return result; | ||
| 931 | } | ||
| 932 | |||
| 933 | static void __exit wacom_exit(void) | ||
| 934 | { | ||
| 935 | usb_deregister(&wacom_driver); | ||
| 936 | } | ||
| 937 | |||
| 938 | module_init(wacom_init); | ||
| 939 | module_exit(wacom_exit); | ||
