svn commit: r314060 - head/sys/dev/sdhci

Ian Lepore ian at FreeBSD.org
Tue Feb 21 21:21:59 UTC 2017


Author: ian
Date: Tue Feb 21 21:21:58 2017
New Revision: 314060
URL: https://svnweb.freebsd.org/changeset/base/314060

Log:
  Fix typos in bootverbose printfs... display the write-protect pin info,
  not the card-detect pin info.

Modified:
  head/sys/dev/sdhci/sdhci_fdt_gpio.c

Modified: head/sys/dev/sdhci/sdhci_fdt_gpio.c
==============================================================================
--- head/sys/dev/sdhci/sdhci_fdt_gpio.c	Tue Feb 21 21:11:58 2017	(r314059)
+++ head/sys/dev/sdhci/sdhci_fdt_gpio.c	Tue Feb 21 21:21:58 2017	(r314060)
@@ -192,7 +192,7 @@ wp_setup(struct sdhci_fdt_gpio *gpio, ph
 
 	if (bootverbose)
 		device_printf(dev, "Write protect switch on %s pin %u\n",
-		    device_get_nameunit(gpio->cd_pin->dev), gpio->cd_pin->pin);
+		    device_get_nameunit(gpio->wp_pin->dev), gpio->wp_pin->pin);
 }
 
 struct sdhci_fdt_gpio *


More information about the svn-src-head mailing list