diff options
author | Peter Maydell | 2020-07-03 17:59:45 +0200 |
---|---|---|
committer | Peter Maydell | 2020-07-03 17:59:45 +0200 |
commit | 3029681235b492026739b831a24a75d1e94e7be5 (patch) | |
tree | d05b7c0fdf0b1c986428f98f1a5473be7b419525 /MAINTAINERS | |
parent | hw/misc/max111x: Use GPIO lines rather than max111x_set_input() (diff) | |
download | qemu-3029681235b492026739b831a24a75d1e94e7be5.tar.gz qemu-3029681235b492026739b831a24a75d1e94e7be5.tar.xz qemu-3029681235b492026739b831a24a75d1e94e7be5.zip |
hw/misc/max111x: Create header file for documentation, TYPE_ macros
Create a header file for the hw/misc/max111x device, in the
usual modern style for QOM devices:
* definition of the TYPE_ constants and macros
* definition of the device's state struct so that it can
be embedded in other structs if desired
* documentation of the interface
This allows us to use TYPE_MAX_1111 in the spitz.c code rather
than the string "max1111".
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200628142429.17111-12-peter.maydell@linaro.org
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index dec252f38b..c31c878c63 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -787,6 +787,7 @@ F: hw/gpio/max7310.c F: hw/gpio/zaurus.c F: hw/misc/mst_fpga.c F: hw/misc/max111x.c +F: include/hw/misc/max111x.h F: include/hw/arm/pxa.h F: include/hw/arm/sharpsl.h F: include/hw/display/tc6393xb.h |