Add const to get rid of some warnings when passing quoted strings.
Remove an unused extern declaration. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4756 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -90,7 +90,11 @@ struct device {
|
||||
void *chip_info;
|
||||
};
|
||||
|
||||
extern struct device dev_root; /* root bus */
|
||||
/**
|
||||
* This is the root of the device tree. The device tree is defined in the
|
||||
* static.c file and is generated by the config tool at compile time.
|
||||
*/
|
||||
extern struct device dev_root;
|
||||
extern struct device *all_devices; /* list of all devices */
|
||||
|
||||
|
||||
|
@@ -95,9 +95,9 @@
|
||||
#if !defined(ASSEMBLY)
|
||||
void rtc_init(int invalid);
|
||||
#if CONFIG_USE_OPTION_TABLE == 1
|
||||
int get_option(void *dest, char *name);
|
||||
int get_option(void *dest, const char *name);
|
||||
#else
|
||||
static inline int get_option(void *dest, char *name) { return -2; }
|
||||
static inline int get_option(void *dest, const char *name) { return -2; }
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user