kernel/devices.if: Add dev_rw_loop_control interface
This commit is contained in:
parent
3bb3d9e79e
commit
781377da9f
|
@ -2376,6 +2376,24 @@ 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
|
||||
|
|
Loading…
Reference in New Issue