Add missing include. Use __devexit rather than __exit to allow building in kernel. Signed-off-by: Martin Fuzzey <mfuzzey@xxxxxxxxx> --- drivers/serial/sc26xx.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/serial/sc26xx.c b/drivers/serial/sc26xx.c index 75038ad..dc09682 100644 --- a/drivers/serial/sc26xx.c +++ b/drivers/serial/sc26xx.c @@ -20,6 +20,7 @@ #include <linux/init.h> #include <linux/platform_device.h> #include <linux/irq.h> +#include <linux/io.h> #if defined(CONFIG_MAGIC_SYSRQ) #define SUPPORT_SYSRQ @@ -709,7 +710,7 @@ out_free_port: } -static int __exit sc26xx_driver_remove(struct platform_device *dev) +static int __devexit sc26xx_driver_remove(struct platform_device *dev) { struct uart_sc26xx_port *up = dev_get_drvdata(&dev->dev); -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html