summaryrefslogtreecommitdiffstats
path: root/include/of.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-07-16 11:16:24 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-06 10:24:46 +0100
commitd7c1612d650e87dbdebf8957bc01bd1db52f0d5b (patch)
tree3a97b1663cf1a2d72142ee1f30f8d3dfb3266a77 /include/of.h
parent91b3761ec87a0194b7cb7a0b5ed983504c876195 (diff)
downloadbarebox-d7c1612d650e87dbdebf8957bc01bd1db52f0d5b.tar.gz
barebox-d7c1612d650e87dbdebf8957bc01bd1db52f0d5b.tar.xz
of: Add a context pointer to fixup functions
If drivers want to fixup their specific instance they need some context to know which instance they have to fixup. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/of.h')
-rw-r--r--include/of.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/of.h b/include/of.h
index e5cd7506cc..cd4cff8abb 100644
--- a/include/of.h
+++ b/include/of.h
@@ -62,7 +62,7 @@ struct device_d;
struct driver_d;
int of_fix_tree(struct device_node *);
-int of_register_fixup(int (*fixup)(struct device_node *));
+int of_register_fixup(int (*fixup)(struct device_node *, void *), void *context);
int of_match(struct device_d *dev, struct driver_d *drv);