mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
drivers: msm: video: add dev_set_name call
This is required before the driver can successfully be registered. Adapted from Arve Hjønnevåg <[email protected]> changes in the Google tree. Signed-off-by: Daniel Walker <[email protected]>
This commit is contained in:
parent
5ad43ff98a
commit
d601c795c4
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue