projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6]
/
drivers
/
uio
/
uio_pdrv.c
diff --git
a/drivers/uio/uio_pdrv.c
b/drivers/uio/uio_pdrv.c
index
5d0d2e8
..
0b4ef39
100644
(file)
--- a/
drivers/uio/uio_pdrv.c
+++ b/
drivers/uio/uio_pdrv.c
@@
-88,6
+88,8
@@
static int uio_pdrv_remove(struct platform_device *pdev)
uio_unregister_device(pdata->uioinfo);
+ kfree(pdata);
+
return 0;
}
@@
-114,5
+116,5
@@
module_exit(uio_pdrv_exit);
MODULE_AUTHOR("Uwe Kleine-Koenig");
MODULE_DESCRIPTION("Userspace I/O platform driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL
v2
");
MODULE_ALIAS("platform:" DRIVER_NAME);