diff options
author | Scott Branden <scott.branden@broadcom.com> | 2021-01-20 18:58:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-25 18:44:44 +0100 |
commit | 22c30607d1e0c604b2450a7aa5bc90a63e24f088 (patch) | |
tree | a00d5473b154ae4f10829ab2c80b4d5a7831cfb5 /drivers/misc/bcm-vk/Makefile | |
parent | misc: bcm-vk: add triggers when host panic or reboots to notify card (diff) | |
download | linux-22c30607d1e0c604b2450a7aa5bc90a63e24f088.tar.xz linux-22c30607d1e0c604b2450a7aa5bc90a63e24f088.zip |
misc: bcm-vk: add open/release
Add open/release to replace private data with context for other methods
to use. Reason for the context is because it is allowed for multiple
sessions to open sysfs. For each file open, when upper layer queries the
response, only those that are tied to a specified open should be returned.
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-7-scott.branden@broadcom.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/bcm-vk/Makefile')
-rw-r--r-- | drivers/misc/bcm-vk/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/misc/bcm-vk/Makefile b/drivers/misc/bcm-vk/Makefile index f8a7ac4c242f..a2ae79858409 100644 --- a/drivers/misc/bcm-vk/Makefile +++ b/drivers/misc/bcm-vk/Makefile @@ -5,4 +5,6 @@ obj-$(CONFIG_BCM_VK) += bcm_vk.o bcm_vk-objs := \ - bcm_vk_dev.o + bcm_vk_dev.o \ + bcm_vk_msg.o + |