mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove RTK_DMP_PLATFORM
This is not selected. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
cfd60faf5e
commit
10a995af18
7 changed files with 2 additions and 134 deletions
|
@ -88,26 +88,15 @@ static void dm_CheckPbcGPIO(struct adapter *padapter)
|
|||
/* After trigger PBC, the variable will be set to false */
|
||||
DBG_8192C("CheckPbcGPIO - PBC is pressed\n");
|
||||
|
||||
#ifdef RTK_DMP_PLATFORM
|
||||
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12))
|
||||
kobject_uevent(&padapter->pnetdev->dev.kobj, KOBJ_NET_PBC);
|
||||
#else
|
||||
kobject_hotplug(&padapter->pnetdev->class_dev.kobj, KOBJ_NET_PBC);
|
||||
#endif
|
||||
#else
|
||||
|
||||
if ( padapter->pid[0] == 0 )
|
||||
{ /* 0 is the default value and it means the application monitors the HW PBC doesn't privde its pid to driver. */
|
||||
return;
|
||||
}
|
||||
rtw_signal_process(padapter->pid[0], SIGUSR1);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
/* */
|
||||
/* Initialize GPIO setting registers */
|
||||
/* */
|
||||
static void
|
||||
dm_InitGPIOSetting(
|
||||
IN struct adapter *Adapter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue