Loading drivers/net/wireless/cnss2/Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -8,5 +8,5 @@ cnss2-y += bus.o cnss2-y += debug.o cnss2-y += pci.o cnss2-y += power.o cnss2-$(CONFIG_CNSS2_DEBUG) += genl.o cnss2-y += genl.o cnss2-$(CONFIG_CNSS2_QMI) += qmi.o coexistence_service_v01.o ip_multimedia_subsystem_private_service_v01.o drivers/net/wireless/cnss2/genl.h +1 −18 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2019, The Linux Foundation. All rights reserved. */ /* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. */ #ifndef __CNSS_GENL_H__ #define __CNSS_GENL_H__ Loading @@ -9,26 +9,9 @@ enum cnss_genl_msg_type { CNSS_GENL_MSG_TYPE_QDSS, }; #ifdef CONFIG_CNSS2_DEBUG int cnss_genl_init(void); void cnss_genl_exit(void); int cnss_genl_send_msg(void *buff, u8 type, char *file_name, u32 total_size); #else static inline int cnss_genl_init(void) { return 0; } static inline void cnss_genl_exit(void) { } static inline int cnss_genl_send_msg(void *buff, u8 type, char *file_name, u32 total_size) { return 0; } #endif #endif Loading
drivers/net/wireless/cnss2/Makefile +1 −1 Original line number Diff line number Diff line Loading @@ -8,5 +8,5 @@ cnss2-y += bus.o cnss2-y += debug.o cnss2-y += pci.o cnss2-y += power.o cnss2-$(CONFIG_CNSS2_DEBUG) += genl.o cnss2-y += genl.o cnss2-$(CONFIG_CNSS2_QMI) += qmi.o coexistence_service_v01.o ip_multimedia_subsystem_private_service_v01.o
drivers/net/wireless/cnss2/genl.h +1 −18 Original line number Diff line number Diff line /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2019, The Linux Foundation. All rights reserved. */ /* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. */ #ifndef __CNSS_GENL_H__ #define __CNSS_GENL_H__ Loading @@ -9,26 +9,9 @@ enum cnss_genl_msg_type { CNSS_GENL_MSG_TYPE_QDSS, }; #ifdef CONFIG_CNSS2_DEBUG int cnss_genl_init(void); void cnss_genl_exit(void); int cnss_genl_send_msg(void *buff, u8 type, char *file_name, u32 total_size); #else static inline int cnss_genl_init(void) { return 0; } static inline void cnss_genl_exit(void) { } static inline int cnss_genl_send_msg(void *buff, u8 type, char *file_name, u32 total_size) { return 0; } #endif #endif