aboutsummaryrefslogtreecommitdiff
path: root/hw/spitz.c
diff options
context:
space:
mode:
authorJuha Riihimäki <juha.riihimaki@nokia.com>2011-07-29 16:35:24 +0100
committerAndrzej Zaborowski <andrew.zaborowski@intel.com>2011-07-30 06:21:31 +0200
commitd4220389ffcc1e6302e759d3b15f8605201d6369 (patch)
tree68125392c1fd45169eb6420abab7258f481cf457 /hw/spitz.c
parent89f640bc0405ed1e9c5c5a6cb6c19c8012d11e3f (diff)
downloadqemu-d4220389ffcc1e6302e759d3b15f8605201d6369.zip
qemu-d4220389ffcc1e6302e759d3b15f8605201d6369.tar.gz
qemu-d4220389ffcc1e6302e759d3b15f8605201d6369.tar.bz2
hw/nand: qdevify
Qdevify the NAND device. Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com> [Riku Voipio: Fixes and restructuring patchset] Signed-off-by: Riku Voipio <riku.voipio@iki.fi> [Peter Maydell: More fixes and cleanups for upstream submission] Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'hw/spitz.c')
-rw-r--r--hw/spitz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spitz.c b/hw/spitz.c
index 78e9c34..c05b5f7 100644
--- a/hw/spitz.c
+++ b/hw/spitz.c
@@ -48,7 +48,7 @@
typedef struct {
SysBusDevice busdev;
- NANDFlashState *nand;
+ DeviceState *nand;
uint8_t ctl;
uint8_t manf_id;
uint8_t chip_id;