@@ -182,11 +182,6 @@ static int pset_prop_read_string(struct property_set *pset,
return 0;
}
-static inline struct fwnode_handle *dev_fwnode(struct device *dev)
-{
- return IS_ENABLED(CONFIG_OF) && dev->of_node ?
- &dev->of_node->fwnode : dev->fwnode;
-}
/**
* device_property_present - check if a property of a device is present
@@ -27,4 +27,10 @@ struct fwnode_handle {
struct fwnode_handle *secondary;
};
+static inline struct fwnode_handle *dev_fwnode(struct device *dev)
+{
+ return IS_ENABLED(CONFIG_OF) && dev->of_node ?
+ &dev->of_node->fwnode : dev->fwnode;
+}
+
#endif
@@ -80,7 +80,7 @@ struct v4l2_fwnode_bus_mipi_csi1 {
* @nr_of_link_frequencies: number of elements in link_frequenccies array
*/
struct v4l2_fwnode_endpoint {
- struct fwnode_endpoint base;
+ /*struct fwnode_endpoint base; */
/*
* Fields below this line will be zeroed by
* v4l2_fwnode_parse_endpoint()