diff options
Diffstat (limited to 'drivers/sbus/char/uctrl.c')
| -rw-r--r-- | drivers/sbus/char/uctrl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/sbus/char/uctrl.c b/drivers/sbus/char/uctrl.c index 05de0ce79cb9..e3dec78f51e9 100644 --- a/drivers/sbus/char/uctrl.c +++ b/drivers/sbus/char/uctrl.c @@ -15,7 +15,7 @@ #include <linux/miscdevice.h> #include <linux/mm.h> #include <linux/of.h> -#include <linux/of_device.h> +#include <linux/platform_device.h> #include <asm/openprom.h> #include <asm/oplib.h> @@ -221,7 +221,6 @@ static irqreturn_t uctrl_interrupt(int irq, void *dev_id) static const struct file_operations uctrl_fops = { .owner = THIS_MODULE, - .llseek = no_llseek, .unlocked_ioctl = uctrl_ioctl, .open = uctrl_open, }; @@ -399,7 +398,7 @@ out_free: goto out; } -static int uctrl_remove(struct platform_device *op) +static void uctrl_remove(struct platform_device *op) { struct uctrl_driver *p = dev_get_drvdata(&op->dev); @@ -409,7 +408,6 @@ static int uctrl_remove(struct platform_device *op) of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0])); kfree(p); } - return 0; } static const struct of_device_id uctrl_match[] = { @@ -432,4 +430,5 @@ static struct platform_driver uctrl_driver = { module_platform_driver(uctrl_driver); +MODULE_DESCRIPTION("Tadpole TS102 Microcontroller driver"); MODULE_LICENSE("GPL"); |
