1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Dell privacy notification driver
5 * Copyright (C) 2021 Dell Inc. All Rights Reserved.
8 #ifndef _DELL_PRIVACY_WMI_H_
9 #define _DELL_PRIVACY_WMI_H_
11 #if IS_ENABLED(CONFIG_DELL_WMI_PRIVACY)
12 bool dell_privacy_has_mic_mute(void);
13 bool dell_privacy_process_event(int type, int code, int status);
14 int dell_privacy_register_driver(void);
15 void dell_privacy_unregister_driver(void);
16 #else /* CONFIG_DELL_PRIVACY */
17 static inline bool dell_privacy_has_mic_mute(void)
22 static inline bool dell_privacy_process_event(int type, int code, int status)
27 static inline int dell_privacy_register_driver(void)
32 static inline void dell_privacy_unregister_driver(void)
35 #endif /* CONFIG_DELL_PRIVACY */