diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2015-12-06 23:52:37 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-12-07 10:59:13 +0100 |
commit | 274e0b8dc48956babeaa2faf70bf8066e656b621 (patch) | |
tree | 1291bf16e49adf87c43d6744255a3bcc506f1962 /drivers | |
parent | 839aebc4fe2f632afe4e4d1e6e883613ab27eb61 (diff) | |
download | barebox-274e0b8dc48956babeaa2faf70bf8066e656b621.tar.gz barebox-274e0b8dc48956babeaa2faf70bf8066e656b621.tar.xz |
imx: ocotp: Add code to initialize 'cdev->device_node'
In order for cdev_by_device_node() to be able to return approprate
character device for <&ocotp> phandle cdev->device_node needs to be
initialized with dev->device_node. This patche takes care of that
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions