Reduce the scope of a pair of qdev/sysbus functions,
then document the sysbus functions related to creating
and connecting GPIO lines.

Based-on: <20211218130437.1516929-1-f4...@amsat.org>

Philippe Mathieu-Daudé (3):
  hw/qdev: Restrict qdev_get_gpio_out_connector() to qdev-internal.h
  hw/sysbus: Restrict sysbus_get_connected_irq() to sysbus-internal.h
  hw/sysbus: Document GPIO related functions

 hw/core/qdev-internal.h   | 15 +++++++++
 hw/core/sysbus-internal.h | 16 +++++++++
 include/hw/qdev-core.h    | 18 ----------
 include/hw/sysbus.h       | 69 ++++++++++++++++++++++++++++++++++++---
 hw/core/gpio.c            |  1 +
 hw/core/platform-bus.c    |  2 +-
 hw/core/sysbus.c          |  2 ++
 7 files changed, 99 insertions(+), 24 deletions(-)
 create mode 100644 hw/core/qdev-internal.h
 create mode 100644 hw/core/sysbus-internal.h

-- 
2.33.1



Reply via email to