diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2019-10-24 19:40:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-05 18:25:54 +0100 |
commit | 8670b2b8b029a6650d133486be9d2ace146fd29a (patch) | |
tree | be558703a5619006e53571c0afa7634a699d9337 /drivers/char/xillybus | |
parent | mei: me: add comet point V device id (diff) | |
download | linux-8670b2b8b029a6650d133486be9d2ace146fd29a.tar.xz linux-8670b2b8b029a6650d133486be9d2ace146fd29a.zip |
rfkill: allocate static minor
udev has a feature of creating /dev/<node> device-nodes if it finds
a devnode:<node> modalias. This allows for auto-loading of modules that
provide the node. This requires to use a statically allocated minor
number for misc character devices.
However, rfkill uses dynamic minor numbers and prevents auto-loading
of the module. So allocate the next static misc minor number and use
it for rfkill.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Link: https://lore.kernel.org/r/20191024174042.19851-1-marcel@holtmann.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/xillybus')
0 files changed, 0 insertions, 0 deletions