Add CONFIG_WARNINGS_ARE_ERRORS and set it for qemu.
Remove all remaining warnings from qemu. 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@4939 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
f9a72600a9
commit
2e67273624
12 changed files with 24 additions and 19 deletions
|
|
@ -58,7 +58,9 @@ extern struct device **last_dev_p;
|
|||
*
|
||||
* @see device_path
|
||||
*/
|
||||
static spinlock_t dev_lock = SPIN_LOCK_UNLOCKED;
|
||||
|
||||
DECLARE_SPIN_LOCK(dev_lock)
|
||||
|
||||
device_t alloc_dev(struct bus *parent, struct device_path *path)
|
||||
{
|
||||
device_t dev, child;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue