aboutsummaryrefslogtreecommitdiff
path: root/include/hw/block/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/block/flash.h')
-rw-r--r--include/hw/block/flash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/block/flash.h b/include/hw/block/flash.h
index aeea3ca99d..3e48901c84 100644
--- a/include/hw/block/flash.h
+++ b/include/hw/block/flash.h
@@ -14,7 +14,7 @@
typedef struct PFlashCFI01 PFlashCFI01;
PFlashCFI01 *pflash_cfi01_register(hwaddr base,
- DeviceState *qdev, const char *name,
+ const char *name,
hwaddr size,
BlockBackend *blk,
uint32_t sector_len, int nb_blocs,
@@ -33,7 +33,7 @@ MemoryRegion *pflash_cfi01_get_memory(PFlashCFI01 *fl);
typedef struct PFlashCFI02 PFlashCFI02;
PFlashCFI02 *pflash_cfi02_register(hwaddr base,
- DeviceState *qdev, const char *name,
+ const char *name,
hwaddr size,
BlockBackend *blk,
uint32_t sector_len, int nb_blocs,