aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/cs5535-mfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/cs5535-mfd.c')
-rw-r--r--drivers/mfd/cs5535-mfd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/mfd/cs5535-mfd.c b/drivers/mfd/cs5535-mfd.c
index 2b282133c725..2e4752a9220a 100644
--- a/drivers/mfd/cs5535-mfd.c
+++ b/drivers/mfd/cs5535-mfd.c
@@ -71,9 +71,9 @@ static int cs5535_mfd_res_disable(struct platform_device *pdev)
71 return 0; 71 return 0;
72} 72}
73 73
74static __devinitdata struct resource cs5535_mfd_resources[NR_BARS]; 74static struct resource cs5535_mfd_resources[NR_BARS];
75 75
76static __devinitdata struct mfd_cell cs5535_mfd_cells[] = { 76static struct mfd_cell cs5535_mfd_cells[] = {
77 { 77 {
78 .id = SMB_BAR, 78 .id = SMB_BAR,
79 .name = "cs5535-smb", 79 .name = "cs5535-smb",
@@ -113,7 +113,7 @@ static __devinitdata struct mfd_cell cs5535_mfd_cells[] = {
113}; 113};
114 114
115#ifdef CONFIG_OLPC 115#ifdef CONFIG_OLPC
116static void __devinit cs5535_clone_olpc_cells(void) 116static void cs5535_clone_olpc_cells(void)
117{ 117{
118 const char *acpi_clones[] = { "olpc-xo1-pm-acpi", "olpc-xo1-sci-acpi" }; 118 const char *acpi_clones[] = { "olpc-xo1-pm-acpi", "olpc-xo1-sci-acpi" };
119 119
@@ -126,7 +126,7 @@ static void __devinit cs5535_clone_olpc_cells(void)
126static void cs5535_clone_olpc_cells(void) { } 126static void cs5535_clone_olpc_cells(void) { }
127#endif 127#endif
128 128
129static int __devinit cs5535_mfd_probe(struct pci_dev *pdev, 129static int cs5535_mfd_probe(struct pci_dev *pdev,
130 const struct pci_device_id *id) 130 const struct pci_device_id *id)
131{ 131{
132 int err, i; 132 int err, i;
@@ -166,7 +166,7 @@ err_disable:
166 return err; 166 return err;
167} 167}
168 168
169static void __devexit cs5535_mfd_remove(struct pci_dev *pdev) 169static void cs5535_mfd_remove(struct pci_dev *pdev)
170{ 170{
171 mfd_remove_devices(&pdev->dev); 171 mfd_remove_devices(&pdev->dev);
172 pci_disable_device(pdev); 172 pci_disable_device(pdev);
@@ -183,7 +183,7 @@ static struct pci_driver cs5535_mfd_driver = {
183 .name = DRV_NAME, 183 .name = DRV_NAME,
184 .id_table = cs5535_mfd_pci_tbl, 184 .id_table = cs5535_mfd_pci_tbl,
185 .probe = cs5535_mfd_probe, 185 .probe = cs5535_mfd_probe,
186 .remove = __devexit_p(cs5535_mfd_remove), 186 .remove = cs5535_mfd_remove,
187}; 187};
188 188
189module_pci_driver(cs5535_mfd_driver); 189module_pci_driver(cs5535_mfd_driver);