summary refs log tree commit diff stats
path: root/include/hw/compat.h
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-05-14 15:53:02 -0300
committerMichael S. Tsirkin <mst@redhat.com>2015-05-31 16:26:41 +0200
commit1edbde82b809f80b973978886d8232fbf280cb03 (patch)
tree0358e79bcfb6e804c1d007a75e67cab92cfe23ba /include/hw/compat.h
parentdd754baf46b6479a02521f671a0b58ffc799810e (diff)
downloadfocaccia-qemu-1edbde82b809f80b973978886d8232fbf280cb03.tar.gz
focaccia-qemu-1edbde82b809f80b973978886d8232fbf280cb03.zip
hw: Define empty HW_COMPAT_2_[23] macros
Now we can make everything consistent and define the macros even if they
are still empty.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>


Diffstat (limited to 'include/hw/compat.h')
-rw-r--r--include/hw/compat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h
index c56a6989be..4a43466f03 100644
--- a/include/hw/compat.h
+++ b/include/hw/compat.h
@@ -1,6 +1,12 @@
 #ifndef HW_COMPAT_H
 #define HW_COMPAT_H
 
+#define HW_COMPAT_2_3 \
+        /* empty */
+
+#define HW_COMPAT_2_2 \
+        /* empty */
+
 #define HW_COMPAT_2_1 \
         {\
             .driver   = "intel-hda",\