~ubuntu-branches/ubuntu/quantal/linux-lowlatency/quantal-proposed

« back to all changes in this revision

Viewing changes to drivers/mfd/cs5535-mfd.c

  • Committer: Package Import Robot
  • Author(s): Andy Whitcroft, Andy Whitcroft
  • Date: 2012-06-21 09:16:38 UTC
  • Revision ID: package-import@ubuntu.com-20120621091638-gubhv4nox8xez1ct
Tags: 3.5.0-1.1
[ Andy Whitcroft]

* Rebuild lowlatency against Ubuntu-3.5.0-1.1
* All new configuration system to allow configuration deltas to be
  exposed via debian.lowlatency/config-delta

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
        pci_disable_device(pdev);
173
173
}
174
174
 
175
 
static struct pci_device_id cs5535_mfd_pci_tbl[] = {
 
175
static DEFINE_PCI_DEVICE_TABLE(cs5535_mfd_pci_tbl) = {
176
176
        { PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_CS5535_ISA) },
177
177
        { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA) },
178
178
        { 0, }
186
186
        .remove = __devexit_p(cs5535_mfd_remove),
187
187
};
188
188
 
189
 
static int __init cs5535_mfd_init(void)
190
 
{
191
 
        return pci_register_driver(&cs5535_mfd_driver);
192
 
}
193
 
 
194
 
static void __exit cs5535_mfd_exit(void)
195
 
{
196
 
        pci_unregister_driver(&cs5535_mfd_driver);
197
 
}
198
 
 
199
 
module_init(cs5535_mfd_init);
200
 
module_exit(cs5535_mfd_exit);
 
189
module_pci_driver(cs5535_mfd_driver);
201
190
 
202
191
MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>");
203
192
MODULE_DESCRIPTION("MFD driver for CS5535/CS5536 southbridge's ISA PCI device");