rk29: sdk: refactor rfkill code

This commit is contained in:
CMY
2012-06-07 14:25:54 +08:00
parent 66e89a4006
commit 44c30859cf
2 changed files with 3 additions and 4 deletions

View File

@@ -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
};
/*****************************************************************************************

View File

@@ -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);