svn commit: r320929 - head/sys/dev/usb/controller
Ian Lepore
ian at FreeBSD.org
Thu Jul 13 02:20:08 UTC 2017
Author: ian
Date: Thu Jul 13 02:20:07 2017
New Revision: 320929
URL: https://svnweb.freebsd.org/changeset/base/320929
Log:
Put an #ifdef notyet wrapper around a function that's not being used yet,
to avoid compile warnings.
Modified:
head/sys/dev/usb/controller/ehci_imx.c
Modified: head/sys/dev/usb/controller/ehci_imx.c
==============================================================================
--- head/sys/dev/usb/controller/ehci_imx.c Thu Jul 13 02:16:15 2017 (r320928)
+++ head/sys/dev/usb/controller/ehci_imx.c Thu Jul 13 02:20:07 2017 (r320929)
@@ -162,6 +162,7 @@ imx_usbmisc_set_ctrl(device_t dev, u_int index, uint32
bus_write_4(sc->mmio, index * sizeof(uint32_t), reg | bits);
}
+#ifdef notyet
static void
imx_usbmisc_clr_ctrl(device_t dev, u_int index, uint32_t bits)
{
@@ -172,6 +173,7 @@ imx_usbmisc_clr_ctrl(device_t dev, u_int index, uint32
reg = bus_read_4(sc->mmio, index * sizeof(uint32_t));
bus_write_4(sc->mmio, index * sizeof(uint32_t), reg & ~bits);
}
+#endif
static int
imx_usbmisc_probe(device_t dev)
More information about the svn-src-all
mailing list