summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-04-06 08:23:41 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-06 08:23:45 +0200
commitf1253fdf8e763c8cadf0ebaeb3cbaf1f720c7a30 (patch)
treecd1ed64f715dda08d7c7bb106405aa5a9502505d /include
parentc3995e85d2b6efdfd665ee420bc49c7436f11bed (diff)
downloadbarebox-f1253fdf8e763c8cadf0ebaeb3cbaf1f720c7a30.tar.gz
barebox-f1253fdf8e763c8cadf0ebaeb3cbaf1f720c7a30.tar.xz
param: Add dev member to struct param_d
This will make it unnecessary to pass the dev pointer around later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/param.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/param.h b/include/param.h
index 3a585cd193..2a1b4fac7b 100644
--- a/include/param.h
+++ b/include/param.h
@@ -15,6 +15,7 @@ struct param_d {
unsigned int flags;
char *name;
char *value;
+ struct device_d *dev;
struct list_head list;
};