diff --git a/drivers/staging/omap-thermal/omap-bandgap.c b/drivers/staging/omap-thermal/omap-bandgap.c index e8c747efe0d1..8346e3450f83 100644 --- a/drivers/staging/omap-thermal/omap-bandgap.c +++ b/drivers/staging/omap-thermal/omap-bandgap.c @@ -998,7 +998,7 @@ free_irqs: } static -int __devexit omap_bandgap_remove(struct platform_device *pdev) +int omap_bandgap_remove(struct platform_device *pdev) { struct omap_bandgap *bg_ptr = platform_get_drvdata(pdev); int i;