aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/rsrc_nonstatic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/rsrc_nonstatic.c')
-rw-r--r--drivers/pcmcia/rsrc_nonstatic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pcmcia/rsrc_nonstatic.c b/drivers/pcmcia/rsrc_nonstatic.c
index 9da9656242af..430a9ac56091 100644
--- a/drivers/pcmcia/rsrc_nonstatic.c
+++ b/drivers/pcmcia/rsrc_nonstatic.c
@@ -1199,7 +1199,7 @@ static const struct attribute_group rsrc_attributes = {
1199 .attrs = pccard_rsrc_attributes, 1199 .attrs = pccard_rsrc_attributes,
1200}; 1200};
1201 1201
1202static int __devinit pccard_sysfs_add_rsrc(struct device *dev, 1202static int pccard_sysfs_add_rsrc(struct device *dev,
1203 struct class_interface *class_intf) 1203 struct class_interface *class_intf)
1204{ 1204{
1205 struct pcmcia_socket *s = dev_get_drvdata(dev); 1205 struct pcmcia_socket *s = dev_get_drvdata(dev);
@@ -1209,7 +1209,7 @@ static int __devinit pccard_sysfs_add_rsrc(struct device *dev,
1209 return sysfs_create_group(&dev->kobj, &rsrc_attributes); 1209 return sysfs_create_group(&dev->kobj, &rsrc_attributes);
1210} 1210}
1211 1211
1212static void __devexit pccard_sysfs_remove_rsrc(struct device *dev, 1212static void pccard_sysfs_remove_rsrc(struct device *dev,
1213 struct class_interface *class_intf) 1213 struct class_interface *class_intf)
1214{ 1214{
1215 struct pcmcia_socket *s = dev_get_drvdata(dev); 1215 struct pcmcia_socket *s = dev_get_drvdata(dev);
@@ -1222,7 +1222,7 @@ static void __devexit pccard_sysfs_remove_rsrc(struct device *dev,
1222static struct class_interface pccard_rsrc_interface __refdata = { 1222static struct class_interface pccard_rsrc_interface __refdata = {
1223 .class = &pcmcia_socket_class, 1223 .class = &pcmcia_socket_class,
1224 .add_dev = &pccard_sysfs_add_rsrc, 1224 .add_dev = &pccard_sysfs_add_rsrc,
1225 .remove_dev = __devexit_p(&pccard_sysfs_remove_rsrc), 1225 .remove_dev = &pccard_sysfs_remove_rsrc,
1226}; 1226};
1227 1227
1228static int __init nonstatic_sysfs_init(void) 1228static int __init nonstatic_sysfs_init(void)