|
@@ -160,7 +160,7 @@ extern void unflatten_device_tree(void);
|
|
extern void early_init_devtree(void *);
|
|
extern void early_init_devtree(void *);
|
|
extern int device_is_compatible(struct device_node *device, const char *);
|
|
extern int device_is_compatible(struct device_node *device, const char *);
|
|
extern int machine_is_compatible(const char *compat);
|
|
extern int machine_is_compatible(const char *compat);
|
|
-extern void *get_property(struct device_node *node, const char *name,
|
|
|
|
|
|
+extern const void *get_property(struct device_node *node, const char *name,
|
|
int *lenp);
|
|
int *lenp);
|
|
extern void print_properties(struct device_node *node);
|
|
extern void print_properties(struct device_node *node);
|
|
extern int prom_n_addr_cells(struct device_node* np);
|
|
extern int prom_n_addr_cells(struct device_node* np);
|