aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/gpio
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2020-09-10 09:50:43 +0000
committerAndrew Turner <andrew@FreeBSD.org>2020-09-10 09:50:43 +0000
commit128e746c6ac654792c8e9dde770c5bd4a6860e3b (patch)
treecf816cced6c38483044eb253ab94b5248b65563b /sys/dev/gpio
parentf5e4e9153ce8268157be828bd7edda1c58072d49 (diff)
Notes
Diffstat (limited to 'sys/dev/gpio')
-rw-r--r--sys/dev/gpio/pl061.c2
-rw-r--r--sys/dev/gpio/pl061_acpi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/gpio/pl061.c b/sys/dev/gpio/pl061.c
index cd6ec81cf402..f9395b5d736c 100644
--- a/sys/dev/gpio/pl061.c
+++ b/sys/dev/gpio/pl061.c
@@ -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));
diff --git a/sys/dev/gpio/pl061_acpi.c b/sys/dev/gpio/pl061_acpi.c
index 83ba9aaa294c..c630f0ffb88a 100644
--- a/sys/dev/gpio/pl061_acpi.c
+++ b/sys/dev/gpio/pl061_acpi.c
@@ -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;