]> git.baikalelectronics.ru Git - kernel.git/commit
miscdevice: introduce builtin_misc_device
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 22 Oct 2016 22:36:05 +0000 (18:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 12:22:11 +0000 (08:22 -0400)
commit92919889ad68b2631f51905f7a329ca5ee2ac28c
tree7bb4104124f684d53ce578d9d12e952271083616
parent9177168e30a2e6bcf2b575e0abda19e6d5a8a2d3
miscdevice: introduce builtin_misc_device

This is basically the same as module_misc_device but without the
presence of an exit/remove function.   Similar in nature to the
commit 517629972ab0c4c17b3549fff94bf67c4b8b0153 ("platform_device:
better support builtin boilerplate avoidance").

Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/miscdevice.h