kernel/devices.if: Add dev_rw_loop_control interface

This commit is contained in:
Luis Ressel 2014-02-01 14:50:21 +01:00 committed by Chris PeBenito
parent 3bb3d9e79e
commit 781377da9f
1 changed files with 18 additions and 0 deletions

View File

@ -2376,6 +2376,24 @@ interface(`dev_rw_lirc',`
rw_chr_files_pattern($1, device_t, lirc_device_t) 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> ## <summary>
## Automatic type transition to the type ## Automatic type transition to the type