mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Subclass Rockchip's General Register Files driver from Simple MFD driver.
This commit is contained in:
parent
494fd9b6af
commit
40c30bf337
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349638
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user