hw/block/nand.c: Include osdep.h first

Include osdep.h as the first header in nand.c; this has to be
done manually because coccinelle gets confused by the way that
this C file includes itself.

We fix some odd spacing in #includes while we are in the area.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Peter Maydell 2016-02-08 19:11:45 +00:00
parent 888ea96aae
commit 74c0e47441

View File

@ -18,6 +18,7 @@
#ifndef NAND_IO #ifndef NAND_IO
#include "qemu/osdep.h"
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/block/flash.h" #include "hw/block/flash.h"
#include "sysemu/block-backend.h" #include "sysemu/block-backend.h"