projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
of/device: Replace struct of_device with struct platform_device
[deliverable/linux.git]
/
drivers
/
video
/
cg3.c
diff --git
a/drivers/video/cg3.c
b/drivers/video/cg3.c
index 64aa29809fb970dcb1740eb72e69cafb5cb62660..09c0c3c42482ba114e459de82dbe7d2ec8e591f0 100644
(file)
--- a/
drivers/video/cg3.c
+++ b/
drivers/video/cg3.c
@@
-346,7
+346,7
@@
static int __devinit cg3_do_default_mode(struct cg3_par *par)
return 0;
}
return 0;
}
-static int __devinit cg3_probe(struct
of
_device *op,
+static int __devinit cg3_probe(struct
platform
_device *op,
const struct of_device_id *match)
{
struct device_node *dp = op->dev.of_node;
const struct of_device_id *match)
{
struct device_node *dp = op->dev.of_node;
@@
-433,7
+433,7
@@
out_err:
return err;
}
return err;
}
-static int __devexit cg3_remove(struct
of
_device *op)
+static int __devexit cg3_remove(struct
platform
_device *op)
{
struct fb_info *info = dev_get_drvdata(&op->dev);
struct cg3_par *par = info->par;
{
struct fb_info *info = dev_get_drvdata(&op->dev);
struct cg3_par *par = info->par;
This page took
0.024033 seconds
and
5
git commands to generate.