projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ad43ff
)
drivers: msm: video: add dev_set_name call
author
Daniel Walker
<dwalker@codeaurora.org>
Tue, 27 Jul 2010 21:04:31 +0000
(14:04 -0700)
committer
Daniel Walker
<dwalker@codeaurora.org>
Tue, 12 Oct 2010 23:11:12 +0000
(16:11 -0700)
This is required before the driver can successfully be registered.
Adapted from Arve Hjønnevåg <arve@android.com> changes in the Google tree.
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
drivers/video/msm/mdp.c
patch
|
blob
|
history
diff --git
a/drivers/video/msm/mdp.c
b/drivers/video/msm/mdp.c
index 2b5bf79ffe7514dff6490b6f2345342eb6750d90..c3636d55a3c5aa1b39cd15accc9e6c7454d5224a 100644
(file)
--- a/
drivers/video/msm/mdp.c
+++ b/
drivers/video/msm/mdp.c
@@
-482,6
+482,7
@@
int mdp_probe(struct platform_device *pdev)
/* register mdp device */
mdp->mdp_dev.dev.parent = &pdev->dev;
mdp->mdp_dev.dev.class = mdp_class;
+ dev_set_name(&mdp->mdp_dev.dev, "mdp%d", pdev->id);
/* if you can remove the platform device you'd have to implement
* this: