diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:32 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:32 +0200 |
commit | 76694f989c28e50b6db5b278f854904ef3d690cf (patch) | |
tree | 2bf315d2a680e55a3aef438aff21b3c804e49f0b /include/driver.h | |
parent | dbafd2e1384ab8da104ca2a72f649b7cee7de15b (diff) | |
download | barebox-76694f989c28e50b6db5b278f854904ef3d690cf.tar.gz barebox-76694f989c28e50b6db5b278f854904ef3d690cf.tar.xz |
svn_rev_204
Diffstat (limited to 'include/driver.h')
-rw-r--r-- | include/driver.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/driver.h b/include/driver.h index 24f28032ec..7cc1d51435 100644 --- a/include/driver.h +++ b/include/driver.h @@ -7,11 +7,12 @@ #define MAP_WRITE 2 struct param_d { - char *(*get)(struct device_d *, ulong cookie); - int (*set)(struct device_d *, ulong cookie, char *val); + char *(*get)(struct device_d *, struct param_d *param); + int (*set)(struct device_d *, struct param_d *param, char *val); char *name; ulong cookie; struct param_d *next; + void *val; }; #define DEVICE_TYPE_UNKNOWN 0 |