dell-wmi-privacy.h (799B)
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Dell privacy notification driver 4 * 5 * Copyright (C) 2021 Dell Inc. All Rights Reserved. 6 */ 7 8#ifndef _DELL_PRIVACY_WMI_H_ 9#define _DELL_PRIVACY_WMI_H_ 10 11#if IS_ENABLED(CONFIG_DELL_WMI_PRIVACY) 12bool dell_privacy_has_mic_mute(void); 13bool dell_privacy_process_event(int type, int code, int status); 14int dell_privacy_register_driver(void); 15void dell_privacy_unregister_driver(void); 16#else /* CONFIG_DELL_PRIVACY */ 17static inline bool dell_privacy_has_mic_mute(void) 18{ 19 return false; 20} 21 22static inline bool dell_privacy_process_event(int type, int code, int status) 23{ 24 return false; 25} 26 27static inline int dell_privacy_register_driver(void) 28{ 29 return 0; 30} 31 32static inline void dell_privacy_unregister_driver(void) 33{ 34} 35#endif /* CONFIG_DELL_PRIVACY */ 36#endif