mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
rk29: sdk: refactor rfkill code
This commit is contained in:
@@ -2939,6 +2939,9 @@ static struct platform_device *devices[] __initdata = {
|
||||
#ifdef CONFIG_SND_RK29_SOC_CS42L52
|
||||
&rk29_cs42l52_device,
|
||||
#endif
|
||||
#ifdef CONFIG_RFKILL_RK
|
||||
&device_rfkill_rk,
|
||||
#endif
|
||||
};
|
||||
|
||||
/*****************************************************************************************
|
||||
|
||||
@@ -884,10 +884,6 @@ static int __init rk29_init_devices(void)
|
||||
{
|
||||
platform_device_register(&rk29_device_pmu);
|
||||
platform_device_register(&rk29_device_pcm);
|
||||
#ifdef CONFIG_BT
|
||||
extern struct platform_device device_rfkill_rk;
|
||||
platform_device_register(&device_rfkill_rk);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
arch_initcall(rk29_init_devices);
|
||||
|
||||
Reference in New Issue
Block a user