Rename IICBUS_FDT_PNPINFO -> IICBUS_FDT_PNP_INFO because all the other

existing pnpinfo-related macros right now use PNP_INFO, not PNPINFO.
This commit is contained in:
Ian Lepore 2019-05-23 16:03:30 +00:00
parent db63d25160
commit 7a038f29d9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348173
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);