OSDN Git Service

misc: bcm-vk: add misc device to Broadcom VK driver
authorScott Branden <scott.branden@broadcom.com>
Wed, 20 Jan 2021 17:58:18 +0000 (09:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jan 2021 17:44:44 +0000 (18:44 +0100)
commitbfc53e01d221e7068d66a0a051762f8b1edcbf63
treee4b67899fd0ae0fc7a9fcd70a179f6b2c4ee099f
parent064ffc7c3939ebc9c152e17bd9f4496d7b318688
misc: bcm-vk: add misc device to Broadcom VK driver

Add misc device base support to create and remove devnode.
Additional misc functions for open/read/write/release/ioctl/sysfs, etc
will be added in follow on commits to allow for individual review.

Co-developed-by: Desmond Yan <desmond.yan@broadcom.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Desmond Yan <desmond.yan@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Link: https://lore.kernel.org/r/20210120175827.14820-5-scott.branden@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/bcm-vk/bcm_vk.h
drivers/misc/bcm-vk/bcm_vk_dev.c