use device_node attribute instead of individual calls per type

This commit is contained in:
Chris PeBenito 2006-03-28 20:26:29 +00:00
parent a65611d2e2
commit 28567af291
2 changed files with 10 additions and 4 deletions

View File

@ -44,10 +44,6 @@ interface(`dev_node',`
') ')
typeattribute $1 device_node; typeattribute $1 device_node;
fs_associate($1)
fs_associate_tmpfs($1)
files_associate_tmp($1)
') ')
######################################## ########################################

View File

@ -195,3 +195,13 @@ files_associate_tmp(xconsole_device_t)
# this should be removed # this should be removed
type devfs_control_t; type devfs_control_t;
dev_node(devfs_control_t) dev_node(devfs_control_t)
########################################
#
# Rules for all device nodes
#
fs_associate(device_node)
fs_associate_tmpfs(device_node)
files_associate_tmp(device_node)