Home
last modified time | relevance | path

Searched hist:"3029681235 b492026739b831a24a75d1e94e7be5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A DMAINTAINERS3029681235b492026739b831a24a75d1e94e7be5 Fri Jul 03 10:59:45 CDT 2020 Peter Maydell <peter.maydell@linaro.org> 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