sdhci: refactor common sysbus/pci class_init() into sdhci_common_class_init()
commit1c92c50543332f7432269a9a317c8c7e4c6618ea
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 16 Jan 2018 13:28:16 +0000 (16 13:28 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Jan 2018 13:28:16 +0000 (16 13:28 +0000)
tree012f0c74362ddaaf75fd193454806b0b9f41be14
parentb635d98cf323ec7f9e639d52a0e0d29fa7b33e38
sdhci: refactor common sysbus/pci class_init() into sdhci_common_class_init()

Now both inherited classes appear as DEVICE_CATEGORY_STORAGE.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 20180115182436.2066-5-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd/sdhci.c