diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2019-01-31 15:40:39 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2019-01-31 15:40:39 +0000 |
| commit | e8977901b79fb678f288dd372261b640bbeccd0d (patch) | |
| tree | a5169c4b7619aaf32317749ac7ca04d93faf6fbe /hw/misc/edu.c | |
| parent | aefcd2836620363020d53b18e712a3350116f332 (diff) | |
| parent | 95b3c9cfd5eaaa4a2a4afa1eaf09612a94ade1da (diff) | |
| download | focaccia-qemu-e8977901b79fb678f288dd372261b640bbeccd0d.tar.gz focaccia-qemu-e8977901b79fb678f288dd372261b640bbeccd0d.zip | |
Merge remote-tracking branch 'remotes/vivier2/tags/trivial-branch-pull-request' into staging
- add device category (edu, i8042, sd memory card) - code clean-up - LGPL information clean-up - fix typo (acpi) # gpg: Signature made Wed 30 Jan 2019 13:21:50 GMT # gpg: using RSA key F30C38BD3F2FBE3C # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full] # gpg: aka "Laurent Vivier <laurent@vivier.eu>" [full] # gpg: aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" [full] # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C * remotes/vivier2/tags/trivial-branch-pull-request: virtio-blk: remove duplicate definition of VirtIOBlock *s pointer hw/block: clean up stale xen_disk trace entries target/m68k: Fix LGPL information in the file headers target/s390x: Fix LGPL version in the file header comments tcg: Fix LGPL version number target/tricore: Fix LGPL version number target/openrisc: Fix LGPL version number COPYING.LIB: Synchronize the LGPL 2.1 with the version from gnu.org Don't talk about the LGPL if the file is licensed under the GPL hw: sd: set category of the sd memory card hw: input: set category of the i8042 device typo: apci->acpi hw: edu: set category of the edu device Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/edu.c')
| -rw-r--r-- | hw/misc/edu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/misc/edu.c b/hw/misc/edu.c index ceaf688bfb..91af452c9e 100644 --- a/hw/misc/edu.c +++ b/hw/misc/edu.c @@ -399,6 +399,7 @@ static void edu_instance_init(Object *obj) static void edu_class_init(ObjectClass *class, void *data) { + DeviceClass *dc = DEVICE_CLASS(class); PCIDeviceClass *k = PCI_DEVICE_CLASS(class); k->realize = pci_edu_realize; @@ -407,6 +408,7 @@ static void edu_class_init(ObjectClass *class, void *data) k->device_id = 0x11e8; k->revision = 0x10; k->class_id = PCI_CLASS_OTHERS; + set_bit(DEVICE_CATEGORY_MISC, dc->categories); } static void pci_edu_register_types(void) |