aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/ds.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r--drivers/pcmcia/ds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 5cf89a91da1e..15c18f5246d6 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -312,8 +312,7 @@ pcmcia_create_newid_file(struct pcmcia_driver *drv)
312{ 312{
313 int error = 0; 313 int error = 0;
314 if (drv->probe != NULL) 314 if (drv->probe != NULL)
315 error = sysfs_create_file(&drv->drv.kobj, 315 error = driver_create_file(&drv->drv, &driver_attr_new_id);
316 &driver_attr_new_id.attr);
317 return error; 316 return error;
318} 317}
319 318