diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-06-03 10:13:29 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-06-17 08:28:25 +0200 |
commit | c3789cd49b43ec1c414ba1b0e9f48e8ccc19f8e1 (patch) | |
tree | 8df082be53b5f2538956daf5e3c0295eff58de23 /include/driver.h | |
parent | 57e1fc33bda4f4f215bdaa7ebb2a79cc5aac3799 (diff) | |
download | barebox-c3789cd49b43ec1c414ba1b0e9f48e8ccc19f8e1.tar.gz barebox-c3789cd49b43ec1c414ba1b0e9f48e8ccc19f8e1.tar.xz |
rework device parameters
Change device parameters so that the memory management is in generic
code. This also removes the need of storing statically initialized
parameters as they are stored in a struct list_head for each device.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/driver.h')
-rw-r--r-- | include/driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/driver.h b/include/driver.h index 1dde38e021..6950c02047 100644 --- a/include/driver.h +++ b/include/driver.h @@ -98,7 +98,7 @@ struct device_d { /*! The parameters for this device. This is used to carry information * of board specific data from the board code to the device driver. */ - struct param_d *param; + struct list_head parameters; struct list_head cdevs; }; |