Fix typos in bootverbose printfs... display the write-protect pin info,

not the card-detect pin info.
This commit is contained in:
Ian Lepore 2017-02-21 21:21:58 +00:00
parent b93763e55d
commit 5c65c9998a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314060

View File

@ -192,7 +192,7 @@ wp_setup(struct sdhci_fdt_gpio *gpio, phandle_t node)
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 *