svn commit: r348173 - head/sys/dev/iicbus

Ian Lepore ian at FreeBSD.org
Thu May 23 16:03:32 UTC 2019


Author: ian
Date: Thu May 23 16:03:30 2019
New Revision: 348173
URL: https://svnweb.freebsd.org/changeset/base/348173

Log:
  Rename IICBUS_FDT_PNPINFO -> IICBUS_FDT_PNP_INFO because all the other
  existing pnpinfo-related macros right now use PNP_INFO, not PNPINFO.

Modified:
  head/sys/dev/iicbus/icee.c
  head/sys/dev/iicbus/iicbus.h

Modified: head/sys/dev/iicbus/icee.c
==============================================================================
--- head/sys/dev/iicbus/icee.c	Thu May 23 15:59:50 2019	(r348172)
+++ head/sys/dev/iicbus/icee.c	Thu May 23 16:03:30 2019	(r348173)
@@ -392,4 +392,4 @@ static devclass_t icee_devclass;
 DRIVER_MODULE(icee, iicbus, icee_driver, icee_devclass, 0, 0);
 MODULE_VERSION(icee, 1);
 MODULE_DEPEND(icee, iicbus, 1, 1, 1);
-IICBUS_FDT_PNPINFO(compat_data);
+IICBUS_FDT_PNP_INFO(compat_data);

Modified: head/sys/dev/iicbus/iicbus.h
==============================================================================
--- head/sys/dev/iicbus/iicbus.h	Thu May 23 15:59:50 2019	(r348172)
+++ head/sys/dev/iicbus/iicbus.h	Thu May 23 16:03:30 2019	(r348173)
@@ -73,9 +73,9 @@ IICBUS_ACCESSOR(nostop,		NOSTOP,		bool)
 #define	IICBUS_ASSERT_LOCKED(sc)       	mtx_assert(&(sc)->lock, MA_OWNED)
 
 #ifdef FDT
-#define	IICBUS_FDT_PNPINFO(t)	FDTCOMPAT_PNP_INFO(t, iicbus)
+#define	IICBUS_FDT_PNP_INFO(t)	FDTCOMPAT_PNP_INFO(t, iicbus)
 #else
-#define	IICBUS_FDT_PNPINFO(t)
+#define	IICBUS_FDT_PNP_INFO(t)
 #endif
 
 int  iicbus_generic_intr(device_t dev, int event, char *buf);


More information about the svn-src-all mailing list