summaryrefslogtreecommitdiff
path: root/hw/nand.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-06-02 18:48:27 +0200
committerKevin Wolf <kwolf@redhat.com>2010-06-04 15:20:47 +0200
commit666daa68234b5b1758652633cab07d5ca6046a5b (patch)
treed4511a0094915ab279c7c02e74fbc6b53c524157 /hw/nand.c
parent7b370f513002b340a383fac961dc8c6fdf39eddc (diff)
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/nand.c')
-rw-r--r--hw/nand.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/nand.c b/hw/nand.c
index 40d5a6a736..cd7444f9a5 100644
--- a/hw/nand.c
+++ b/hw/nand.c
@@ -13,9 +13,8 @@
# include "hw.h"
# include "flash.h"
-# include "block.h"
+# include "blockdev.h"
/* FIXME: Pass block device as an argument. */
-# include "sysemu.h"
# define NAND_CMD_READ0 0x00
# define NAND_CMD_READ1 0x01