projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
of: Remove duplicate fields from of_platform_driver
[deliverable/linux.git]
/
drivers
/
pcmcia
/
m8xx_pcmcia.c
diff --git
a/drivers/pcmcia/m8xx_pcmcia.c
b/drivers/pcmcia/m8xx_pcmcia.c
index 01ef7de15322bf9668edb16aea84006b0ea7b43e..1a648b90b634890512ffb95560c1944d5d7a214a 100644
(file)
--- a/
drivers/pcmcia/m8xx_pcmcia.c
+++ b/
drivers/pcmcia/m8xx_pcmcia.c
@@
-42,7
+42,6
@@
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/errno.h>
-#include <linux/slab.h>
#include <linux/timer.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/timer.h>
#include <linux/ioport.h>
#include <linux/delay.h>
@@
-1299,8
+1298,11
@@
static const struct of_device_id m8xx_pcmcia_match[] = {
MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match);
static struct of_platform_driver m8xx_pcmcia_driver = {
MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match);
static struct of_platform_driver m8xx_pcmcia_driver = {
- .name = driver_name,
- .match_table = m8xx_pcmcia_match,
+ .driver = {
+ .name = driver_name,
+ .owner = THIS_MODULE,
+ .match_table = m8xx_pcmcia_match,
+ },
.probe = m8xx_probe,
.remove = m8xx_remove,
};
.probe = m8xx_probe,
.remove = m8xx_remove,
};
This page took
0.024398 seconds
and
5
git commands to generate.