]> Git Repo - qemu.git/blobdiff - hw/misc/omap_tap.c
ide: bdrv_attach_dev() for empty CD-ROM
[qemu.git] / hw / misc / omap_tap.c
index 9d2b71014c40ab7b7dcae0ceacff036660dcdb7f..e6ea8ee235b5bb6c9acd8ca93d68be6454b87f3c 100644 (file)
@@ -18,6 +18,7 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "hw/arm/omap.h"
 
@@ -95,7 +96,8 @@ static void omap_tap_write(void *opaque, hwaddr addr,
                            uint64_t value, unsigned size)
 {
     if (size != 4) {
-        return omap_badwidth_write32(opaque, addr, value);
+        omap_badwidth_write32(opaque, addr, value);
+        return;
     }
 
     OMAP_BAD_REG(addr);
This page took 0.021596 seconds and 4 git commands to generate.