summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/sun4/io/tod.c2
-rw-r--r--usr/src/uts/sun4u/tod/Makefile13
2 files changed, 2 insertions, 13 deletions
diff --git a/usr/src/uts/sun4/io/tod.c b/usr/src/uts/sun4/io/tod.c
index 7d85f65fcf..07a8b1783b 100644
--- a/usr/src/uts/sun4/io/tod.c
+++ b/usr/src/uts/sun4/io/tod.c
@@ -192,7 +192,7 @@ tod_attach(dev_info_t *dip, ddi_attach_cmd_t cmd)
*/
(void) sprintf(name, "tod%d", inst);
if (ddi_create_minor_node(dip, name, S_IFCHR, inst,
- DDI_PSEUDO, NULL) == DDI_FAILURE)
+ DDI_PSEUDO, 0) == DDI_FAILURE)
goto attach_failed;
/*
diff --git a/usr/src/uts/sun4u/tod/Makefile b/usr/src/uts/sun4u/tod/Makefile
index ad7e1028ad..41d61d51b2 100644
--- a/usr/src/uts/sun4u/tod/Makefile
+++ b/usr/src/uts/sun4u/tod/Makefile
@@ -41,7 +41,6 @@ UTSBASE = ../..
#
MODULE = tod
OBJECTS = $(TOD_OBJS:%=$(OBJS_DIR)/%)
-LINTS = $(TOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/sun4/io
@@ -54,14 +53,10 @@ include $(UTSBASE)/sun4u/Makefile.sun4u
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
-LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
-#
-# lint pass one enforcement
-#
CFLAGS += $(CCVERBOSE)
-CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-parentheses
#
# Default build targets.
@@ -76,12 +71,6 @@ clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
-lint: $(LINT_DEPS)
-
-modlintlib: $(MODLINTLIB_DEPS)
-
-clean.lint: $(CLEAN_LINT_DEPS)
-
install: $(INSTALL_DEPS)
#