mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
55312c58ed
PD#SWPL-95684 Problem: combine wifi and bluetooth modules Solution: result: amlogic-wireless.ko original: amlogic-wifi.ko bt_device.ko Verify: sc2 Change-Id: I2b8ff4c2471407e419772e22920434c5c74b843e Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
38 lines
572 B
C
38 lines
572 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __WIRELESS_MAIN_H_
|
|
#define __WIRELESS_MAIN_H_
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_BLUETOOTH)
|
|
int bt_init(void);
|
|
void bt_exit(void);
|
|
#else
|
|
static inline int bt_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void bt_exit(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_WIFI)
|
|
int wifi_dt_init(void);
|
|
void wifi_dt_exit(void);
|
|
#else
|
|
static inline int wifi_dt_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void wifi_dt_exit(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /*__WIRELESS_MAIN_H_*/
|