Subclass Rockchip's General Register Files driver from Simple MFD driver.

This commit is contained in:
Ganbold Tsagaankhuu 2019-07-03 03:42:51 +00:00
parent 494fd9b6af
commit 40c30bf337

View File

@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
#include <dev/ofw/ofw_bus_subr.h>
#include <dev/extres/syscon/syscon.h>
#include <dev/extres/syscon/syscon_generic.h>
#include <dev/fdt/simple_mfd.h>
#include "opt_soc.h"
@ -77,7 +77,7 @@ static device_method_t rk_grf_methods[] = {
};
DEFINE_CLASS_1(rk_grf, rk_grf_driver, rk_grf_methods,
sizeof(struct syscon_generic_softc), syscon_generic_driver);
sizeof(struct simple_mfd_softc), simple_mfd_driver);
static devclass_t rk_grf_devclass;
EARLY_DRIVER_MODULE(rk_grf, simplebus, rk_grf_driver, rk_grf_devclass,