Пример #1
0
static int __init wcnss_wlan_init(void)
{
	platform_driver_register(&wcnss_wlan_driver);
	platform_driver_register(&wcnss_wlan_ctrl_driver);

#ifdef FEATURE_PANTECH_WLAN_QCOM_PATCH  //20120726 thkim_wifi the patch to prevent memory fragmentation when the wlan host driver loads.(Case Number: 00924847)
	wcnss_prealloc_init();
#endif

	return 0;
}
Пример #2
0
static int __init wcnss_wlan_init(void)
{
    int ret = 0;
    platform_driver_register(&wcnss_wlan_driver);
    platform_driver_register(&wcnss_wlan_ctrl_driver);

#ifdef CONFIG_WCNSS_MEM_PRE_ALLOC
    ret = wcnss_prealloc_init();
    if (ret < 0)
        pr_err("wcnss: pre-allocation failed\n");
#endif

    return ret;
}
static int __init wcnss_pre_alloc_init(void)
{
	return wcnss_prealloc_init();
}