Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2017 21:21:58 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r314060 - head/sys/dev/sdhci
Message-ID:  <201702212121.v1LLLwb3085400@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 *



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