summaryrefslogtreecommitdiffstats
path: root/include/hw/compat.h
diff options
context:
space:
mode:
authorMarc-André Lureau2018-12-12 16:36:30 +0100
committerMarc-André Lureau2019-01-07 13:18:42 +0100
commit1c30044e1aba56066eb6a51a788ce6a15a8faa8f (patch)
tree8d92b9038337303da59207a8a582deec833dafc8 /include/hw/compat.h
parentcompat: replace PC_COMPAT_2_3 & HW_COMPAT_2_3 macros (diff)
downloadqemu-1c30044e1aba56066eb6a51a788ce6a15a8faa8f.tar.gz
qemu-1c30044e1aba56066eb6a51a788ce6a15a8faa8f.tar.xz
qemu-1c30044e1aba56066eb6a51a788ce6a15a8faa8f.zip
compat: replace PC_COMPAT_2_2 & HW_COMPAT_2_2 macros
Use static arrays instead. I decided to rename the conflicting pc_compat_2_2() function with pc_compat_2_2_fn(). Suggested-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw/compat.h')
-rw-r--r--include/hw/compat.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h
index fbe64d5983..3bd91908e4 100644
--- a/include/hw/compat.h
+++ b/include/hw/compat.h
@@ -1,9 +1,6 @@
#ifndef HW_COMPAT_H
#define HW_COMPAT_H
-#define HW_COMPAT_2_2 \
- /* empty */
-
#define HW_COMPAT_2_1 \
{\
.driver = "intel-hda",\