pcap_ts.c (7483d45f0aee3afc0646d185cabd4af9f6cab58c) | pcap_ts.c (1cb0aa88179b7a71c240529e9d781d7bbb43d2e8) |
---|---|
1/* 2 * Driver for Motorola PCAP2 touchscreen as found in the EZX phone platform. 3 * 4 * Copyright (C) 2006 Harald Welte <laforge@openezx.org> 5 * Copyright (C) 2009 Daniel Ribeiro <drwyrm@gmail.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 231 unchanged lines hidden (view full) --- 240}; 241#define PCAP_TS_PM_OPS (&pcap_ts_pm_ops) 242#else 243#define PCAP_TS_PM_OPS NULL 244#endif 245 246static struct platform_driver pcap_ts_driver = { 247 .probe = pcap_ts_probe, | 1/* 2 * Driver for Motorola PCAP2 touchscreen as found in the EZX phone platform. 3 * 4 * Copyright (C) 2006 Harald Welte <laforge@openezx.org> 5 * Copyright (C) 2009 Daniel Ribeiro <drwyrm@gmail.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 231 unchanged lines hidden (view full) --- 240}; 241#define PCAP_TS_PM_OPS (&pcap_ts_pm_ops) 242#else 243#define PCAP_TS_PM_OPS NULL 244#endif 245 246static struct platform_driver pcap_ts_driver = { 247 .probe = pcap_ts_probe, |
248 .remove = __devexit_p(pcap_ts_remove), | 248 .remove = pcap_ts_remove, |
249 .driver = { 250 .name = "pcap-ts", 251 .owner = THIS_MODULE, 252 .pm = PCAP_TS_PM_OPS, 253 }, 254}; 255module_platform_driver(pcap_ts_driver); 256 257MODULE_DESCRIPTION("Motorola PCAP2 touchscreen driver"); 258MODULE_AUTHOR("Daniel Ribeiro / Harald Welte"); 259MODULE_LICENSE("GPL"); 260MODULE_ALIAS("platform:pcap_ts"); | 249 .driver = { 250 .name = "pcap-ts", 251 .owner = THIS_MODULE, 252 .pm = PCAP_TS_PM_OPS, 253 }, 254}; 255module_platform_driver(pcap_ts_driver); 256 257MODULE_DESCRIPTION("Motorola PCAP2 touchscreen driver"); 258MODULE_AUTHOR("Daniel Ribeiro / Harald Welte"); 259MODULE_LICENSE("GPL"); 260MODULE_ALIAS("platform:pcap_ts"); |