aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/rsrc_nonstatic.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:23:12 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 15:10:16 -0500
commit34cdf25a126f053698d549cc12a9c30e9a8a0bab (patch)
tree9efbc1df6dc293b7334c9dfac664505be0676cdc /drivers/pcmcia/rsrc_nonstatic.c
parent96364e3a5cf1416c158a276134d9a4fc861548c2 (diff)
pcmcia: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Eric Miao <eric.y.miao@gmail.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> Acked-by: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pcmcia/rsrc_nonstatic.c')
-rw-r--r--drivers/pcmcia/rsrc_nonstatic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/rsrc_nonstatic.c b/drivers/pcmcia/rsrc_nonstatic.c
index fcf4152689b5..4c38a04d4356 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);