ifeq ($(CONFIG_DHD_USE_STATIC_BUF),y)
# add dhd_static_buf to kernel image build
#obj-y += dhd_static_buf.o
+DHDCFLAGS += -DCONFIG_DHD_USE_STATIC_BUF
DHDCFLAGS += -DSTATIC_WL_PRIV_STRUCT -DENHANCED_STATIC_BUF
endif
dhd_wifi_platform_unregister_drv();
#ifdef CUSTOMER_HW_AMLOGIC
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0))
wifi_teardown_dt();
+#endif
#endif
printf("%s: Exit\n", __FUNCTION__);
}
printf("%s: in\n", __FUNCTION__);
#ifdef CUSTOMER_HW_AMLOGIC
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0))
if (wifi_setup_dt()) {
printf("wifi_dt : fail to setup dt\n");
}
+#endif
#endif
DHD_PERIM_RADIO_INIT();
if (err) {
#ifdef CUSTOMER_HW_AMLOGIC
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0))
wifi_teardown_dt();
+#endif
#endif
DHD_ERROR(("%s: Failed to load driver max retry reached**\n", __FUNCTION__));
}