mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
Export rk29sdk_wifi_set_carddetect for MV8686 driver.
This commit is contained in:
@@ -1231,7 +1231,7 @@ static int rk29sdk_wifi_reset(int on)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int rk29sdk_wifi_set_carddetect(int val)
|
||||
int rk29sdk_wifi_set_carddetect(int val)
|
||||
{
|
||||
pr_info("%s:%d\n", __func__, val);
|
||||
rk29sdk_wifi_cd = val;
|
||||
@@ -1242,6 +1242,7 @@ static int rk29sdk_wifi_set_carddetect(int val)
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(rk29sdk_wifi_set_carddetect);
|
||||
|
||||
static struct wifi_platform_data rk29sdk_wifi_control = {
|
||||
.set_power = rk29sdk_wifi_power,
|
||||
|
||||
@@ -26,7 +26,8 @@
|
||||
*/
|
||||
struct wifi_power power_gpio =
|
||||
{
|
||||
0, 0, 0, 0, 0, 0
|
||||
POWER_USE_GPIO, POWER_GPIO_IOMUX,
|
||||
GPIO5D6_SDMMC1PWREN_NAME, GPIO5H_GPIO5D6, RK29_PIN5_PD6, GPIO_HIGH
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -36,7 +37,7 @@ struct wifi_power power_gpio =
|
||||
*/
|
||||
struct wifi_power power_save_gpio =
|
||||
{
|
||||
0, 0, 0, 0, 0, 0
|
||||
POWER_USE_GPIO, POWER_GPIO_NOT_IOMUX, 0, 0, RK29_PIN6_PC0, GPIO_HIGH
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user