diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:40 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:40 +0200 |
commit | 93ca1de96a7f293189db3682fe8fedf856d6b6a1 (patch) | |
tree | f7e466936ff00c854141e2d0a6bdcc2feb073af6 /include/driver.h | |
parent | 27f9ff5ab47354f933348663af30b9a28435c11b (diff) | |
download | barebox-93ca1de96a7f293189db3682fe8fedf856d6b6a1.tar.gz barebox-93ca1de96a7f293189db3682fe8fedf856d6b6a1.tar.xz |
svn_rev_291
add get_first_device() function
Diffstat (limited to 'include/driver.h')
-rw-r--r-- | include/driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h index 0a4e71ca79..81b10594cb 100644 --- a/include/driver.h +++ b/include/driver.h @@ -76,6 +76,7 @@ struct device_d *device_from_spec_str(const char *str, char **endp); struct device_d *get_device_by_name(char *name); struct device_d *get_device_by_type(ulong type, struct device_d *last); struct device_d *get_device_by_id(const char *id); +struct device_d *get_first_device(const char *id); struct driver_d *get_driver_by_name(char *name); |