Switch the name of the pl061 driver to gpio

We need it to be named gpio for gpiobus to work.

Sponsored by:	Innovate UK
This commit is contained in:
Andrew Turner 2020-09-10 09:50:43 +00:00
parent f5e4e9153c
commit 128e746c6a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365559
2 changed files with 2 additions and 2 deletions

View File

@ -577,4 +577,4 @@ static device_method_t pl061_methods[] = {
DEVMETHOD_END
};
DEFINE_CLASS_0(pl061, pl061_driver, pl061_methods, sizeof(struct pl061_softc));
DEFINE_CLASS_0(gpio, pl061_driver, pl061_methods, sizeof(struct pl061_softc));

View File

@ -93,7 +93,7 @@ static device_method_t pl061_acpi_methods[] = {
DEVMETHOD_END
};
DEFINE_CLASS_1(pl061, pl061_acpi_driver, pl061_acpi_methods,
DEFINE_CLASS_1(gpio, pl061_acpi_driver, pl061_acpi_methods,
sizeof(struct pl061_softc), pl061_driver);
static devclass_t pl061_devclass;