projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8865f90
)
rk: ion: register rockchip cma device
author
CMY
<cmy@rock-chips.com>
Thu, 12 Jun 2014 09:14:19 +0000
(17:14 +0800)
committer
CMY
<cmy@rock-chips.com>
Thu, 12 Jun 2014 09:14:36 +0000
(17:14 +0800)
drivers/staging/android/ion/rockchip/rockchip_ion.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/ion/rockchip/rockchip_ion.c
b/drivers/staging/android/ion/rockchip/rockchip_ion.c
index bf44eb773a4d9b484df44f00f300da3703291df1..14539e5426c9c52fd259ddd65109660b01ffe726 100755
(executable)
--- a/
drivers/staging/android/ion/rockchip/rockchip_ion.c
+++ b/
drivers/staging/android/ion/rockchip/rockchip_ion.c
@@
-266,6
+266,12
@@
static int rockchip_ion_probe(struct platform_device *pdev)
int err;
int i;
+ err = device_register(&rockchip_ion_cma_dev);
+ if (err) {
+ pr_err("Could not register %s\n", dev_name(&rockchip_ion_cma_dev));
+ return err;
+ }
+
if (pdev->dev.of_node) {
pdata = rockchip_ion_parse_dt(&pdev->dev);
if (IS_ERR(pdata)) {