#include <linux/acpi.h>
#include <drm/drm_privacy_screen_driver.h>
#define PRIV_SCRN_DSM_REVID …
#define PRIV_SCRN_DSM_FN_GET_STATUS …
#define PRIV_SCRN_DSM_FN_ENABLE …
#define PRIV_SCRN_DSM_FN_DISABLE …
static const guid_t chromeos_privacy_screen_dsm_guid = …;
static void
chromeos_privacy_screen_get_hw_state(struct drm_privacy_screen
*drm_privacy_screen)
{ … }
static int
chromeos_privacy_screen_set_sw_state(struct drm_privacy_screen
*drm_privacy_screen,
enum drm_privacy_screen_status state)
{ … }
static const struct drm_privacy_screen_ops chromeos_privacy_screen_ops = …;
static int chromeos_privacy_screen_add(struct acpi_device *adev)
{ … }
static void chromeos_privacy_screen_remove(struct acpi_device *adev)
{ … }
static const struct acpi_device_id chromeos_privacy_screen_device_ids[] = …;
MODULE_DEVICE_TABLE(acpi, chromeos_privacy_screen_device_ids);
static struct acpi_driver chromeos_privacy_screen_driver = …;
module_acpi_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;