From: "Noah J. Misch" <noah@caltech.edu>
Two gameport drivers need __devexit_p wrapped around their remove
functions. A newer binutils caught this is a link error. This patch fixes
that.
Wrapped a __devexit_p around the 'remove' functions of two gameport
drivers. The lack of __devexit_p was wrong according to linux/init.h,
differed from the practices in nearby files, and caused a link error with
binutils 2.14.90.0.5.
.name = "FM801 GP",
.id_table = fm801_gp_id_table,
.probe = fm801_gp_probe,
- .remove = fm801_gp_remove,
+ .remove = __devexit_p(fm801_gp_remove),
};
int __init fm801_gp_init(void)
.name = "vortex",
.id_table = vortex_id_table,
.probe = vortex_probe,
- .remove = vortex_remove,
+ .remove = __devexit_p(vortex_remove),
};
int __init vortex_init(void)