Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2017 02:20:07 +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: r320929 - head/sys/dev/usb/controller
Message-ID:  <201707130220.v6D2K7IV007868@repo.freebsd.org>

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



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