Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36017
};
MODULE_DEVICE_TABLE(of, ltq_atm_match);
};
MODULE_DEVICE_TABLE(of, ltq_atm_match);
-static int __devinit ltq_atm_probe(struct platform_device *pdev)
+static int ltq_atm_probe(struct platform_device *pdev)
{
const struct of_device_id *match;
struct ltq_atm_ops *ops = NULL;
{
const struct of_device_id *match;
struct ltq_atm_ops *ops = NULL;
-static int __devexit ltq_atm_remove(struct platform_device *pdev)
+static int ltq_atm_remove(struct platform_device *pdev)
{
int port_num;
struct ltq_atm_ops *ops = platform_get_drvdata(pdev);
{
int port_num;
struct ltq_atm_ops *ops = platform_get_drvdata(pdev);
static struct platform_driver ltq_atm_driver = {
.probe = ltq_atm_probe,
static struct platform_driver ltq_atm_driver = {
.probe = ltq_atm_probe,
- .remove = __devexit_p(ltq_atm_remove),
+ .remove = ltq_atm_remove,
.driver = {
.name = "atm",
.owner = THIS_MODULE,
.driver = {
.name = "atm",
.owner = THIS_MODULE,