0001
0002
0003
0004
0005
0006
0007
0008 #ifndef _DELL_PRIVACY_WMI_H_
0009 #define _DELL_PRIVACY_WMI_H_
0010
0011 #if IS_ENABLED(CONFIG_DELL_WMI_PRIVACY)
0012 bool dell_privacy_has_mic_mute(void);
0013 bool dell_privacy_process_event(int type, int code, int status);
0014 int dell_privacy_register_driver(void);
0015 void dell_privacy_unregister_driver(void);
0016 #else
0017 static inline bool dell_privacy_has_mic_mute(void)
0018 {
0019 return false;
0020 }
0021
0022 static inline bool dell_privacy_process_event(int type, int code, int status)
0023 {
0024 return false;
0025 }
0026
0027 static inline int dell_privacy_register_driver(void)
0028 {
0029 return 0;
0030 }
0031
0032 static inline void dell_privacy_unregister_driver(void)
0033 {
0034 }
0035 #endif
0036 #endif