diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-05-19 08:53:47 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-05-20 15:53:06 +0200 |
commit | 0cb87c4d1e273b2acb71db8f5b0a8842df5af68d (patch) | |
tree | 9ffbca30cb857ca1b5da263a74545185f8909e95 /include/driver.h | |
parent | 580a5089456f716bffab6f51bb73268ea095b321 (diff) | |
download | barebox-0cb87c4d1e273b2acb71db8f5b0a8842df5af68d.tar.gz barebox-0cb87c4d1e273b2acb71db8f5b0a8842df5af68d.tar.xz |
of: Add of_match_node function
To match a of_device_id arrays against a device_node. Same functionality
as in the kernel.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/driver.h')
-rw-r--r-- | include/driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/driver.h b/include/driver.h index 716f792afe..7d5f65e79b 100644 --- a/include/driver.h +++ b/include/driver.h @@ -106,7 +106,7 @@ struct device_d { struct platform_device_id *id_entry; struct device_node *device_node; - struct of_device_id *of_id_entry; + const struct of_device_id *of_id_entry; }; /** @brief Describes a driver present in the system */ |