summaryrefslogtreecommitdiffstats
path: root/hw/onenand.c
diff options
context:
space:
mode:
authorMarkus Armbruster2010-06-02 18:48:27 +0200
committerKevin Wolf2010-06-04 15:20:47 +0200
commit666daa68234b5b1758652633cab07d5ca6046a5b (patch)
treed4511a0094915ab279c7c02e74fbc6b53c524157 /hw/onenand.c
parentqdev: Move declaration of qdev_init_bdrv() into qdev.h (diff)
downloadqemu-666daa68234b5b1758652633cab07d5ca6046a5b.tar.gz
qemu-666daa68234b5b1758652633cab07d5ca6046a5b.tar.xz
qemu-666daa68234b5b1758652633cab07d5ca6046a5b.zip
blockdev: Collect block device code in new blockdev.c
Anything that moves hundreds of lines out of vl.c can't be all bad. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/onenand.c')
-rw-r--r--hw/onenand.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/onenand.c b/hw/onenand.c
index c1e7e4d608..4118db922d 100644
--- a/hw/onenand.c
+++ b/hw/onenand.c
@@ -21,8 +21,7 @@
#include "qemu-common.h"
#include "flash.h"
#include "irq.h"
-#include "sysemu.h"
-#include "block.h"
+#include "blockdev.h"
/* 11 for 2kB-page OneNAND ("2nd generation") and 10 for 1kB-page chips */
#define PAGE_SHIFT 11