aboutsummaryrefslogtreecommitdiffstats
path: root/hw/pflash_cfi02.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-09-08 09:05:14 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-09-08 09:05:14 -0500
commit220724ca4ada4e30bcfff326b62822a69c23e181 (patch)
treec0bb1bdd3ec41c5945000cf43620725d2e00ffd8 /hw/pflash_cfi02.c
parentd8ac46d950451a722fd6b1d5d0768c72bee87d47 (diff)
parentcfc606da0ddcef1f7228317b9f7dfa6c94c6c64f (diff)
Merge remote-tracking branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'hw/pflash_cfi02.c')
-rw-r--r--hw/pflash_cfi02.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pflash_cfi02.c b/hw/pflash_cfi02.c
index 4dbec8721..e5a63da59 100644
--- a/hw/pflash_cfi02.c
+++ b/hw/pflash_cfi02.c
@@ -641,6 +641,7 @@ pflash_t *pflash_cfi02_register(target_phys_addr_t base,
g_free(pfl);
return NULL;
}
+ bdrv_attach_dev_nofail(pfl->bs, pfl);
}
pflash_setup_mappings(pfl);
pfl->rom_mode = 1;