forked from luck/tmp_suning_uos_patched
parent
4257fd8028
commit
12530d84e0
File diff suppressed because it is too large
Load Diff
|
@ -217,7 +217,7 @@ static void __exit lpc_exit(void)
|
|||
{
|
||||
if (!cpu_is_phytium())
|
||||
{
|
||||
return 0;
|
||||
return ;
|
||||
}
|
||||
|
||||
platform_driver_unregister(&lpc_driver);
|
||||
|
|
|
@ -1411,7 +1411,7 @@ static int i8042_pm_suspend(struct device *dev)
|
|||
int i;
|
||||
|
||||
#ifdef CONFIG_ARCH_PHYTIUM_LPC
|
||||
if (cpu_is_phytium)
|
||||
if (cpu_is_phytium())
|
||||
phytium_laptop_toggle_aux(true);
|
||||
#endif
|
||||
if (pm_suspend_via_firmware())
|
||||
|
|
|
@ -402,7 +402,7 @@ static void mars_get_wol(struct phy_device *phydev, struct ethtool_wolinfo *wol)
|
|||
|
||||
val = mars_ext_read(phydev, CTC_MARS_WOL_CFG_REG);
|
||||
if (val < 0)
|
||||
return val;
|
||||
return;
|
||||
|
||||
if (val & CTC_MARS_WOL_EN)
|
||||
wol->wolopts |= WAKE_MAGIC;
|
||||
|
|
|
@ -5,6 +5,6 @@ config SECURITY_HOOKMANAGER
|
|||
select SECURITYFS
|
||||
select SECURITY_PATH
|
||||
select SECURITY_NETWORK
|
||||
default y
|
||||
default n
|
||||
help
|
||||
This selects an hook manager for LSM hooks.
|
||||
|
|
Loading…
Reference in New Issue
Block a user