Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2020 09:50:43 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365559 - head/sys/dev/gpio
Message-ID:  <202009100950.08A9ohKg040389@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Thu Sep 10 09:50:43 2020
New Revision: 365559
URL: https://svnweb.freebsd.org/changeset/base/365559

Log:
  Switch the name of the pl061 driver to gpio
  
  We need it to be named gpio for gpiobus to work.
  
  Sponsored by:	Innovate UK

Modified:
  head/sys/dev/gpio/pl061.c
  head/sys/dev/gpio/pl061_acpi.c

Modified: head/sys/dev/gpio/pl061.c
==============================================================================
--- head/sys/dev/gpio/pl061.c	Thu Sep 10 09:42:37 2020	(r365558)
+++ head/sys/dev/gpio/pl061.c	Thu Sep 10 09:50:43 2020	(r365559)
@@ -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));

Modified: head/sys/dev/gpio/pl061_acpi.c
==============================================================================
--- head/sys/dev/gpio/pl061_acpi.c	Thu Sep 10 09:42:37 2020	(r365558)
+++ head/sys/dev/gpio/pl061_acpi.c	Thu Sep 10 09:50:43 2020	(r365559)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009100950.08A9ohKg040389>