Move loop control interface definition.
This commit is contained in:
parent
7ac64b8a5a
commit
38a2d8e581
|
@ -2376,24 +2376,6 @@ interface(`dev_rw_lirc',`
|
|||
rw_chr_files_pattern($1, device_t, lirc_device_t)
|
||||
')
|
||||
|
||||
######################################
|
||||
## <summary>
|
||||
## Read and write the loop-control device.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`dev_rw_loop_control',`
|
||||
gen_require(`
|
||||
type device_t, loop_control_device_t;
|
||||
')
|
||||
|
||||
rw_chr_files_pattern($1, device_t, loop_control_device_t)
|
||||
')
|
||||
|
||||
######################################
|
||||
## <summary>
|
||||
## Automatic type transition to the type
|
||||
|
@ -2418,6 +2400,24 @@ interface(`dev_filetrans_lirc',`
|
|||
filetrans_pattern($1, device_t, lirc_device_t, chr_file, $2)
|
||||
')
|
||||
|
||||
######################################
|
||||
## <summary>
|
||||
## Read and write the loop-control device.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`dev_rw_loop_control',`
|
||||
gen_require(`
|
||||
type device_t, loop_control_device_t;
|
||||
')
|
||||
|
||||
rw_chr_files_pattern($1, device_t, loop_control_device_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Get the attributes of the lvm comtrol device.
|
||||
|
|
Loading…
Reference in New Issue