2016-12-10 07:31:21 +00:00
|
|
|
--- a/os_dep/linux/os_intfs.c 2013-09-11 05:56:55.000000000 +0200
|
|
|
|
+++ b/os_dep/linux/os_intfs.c 2013-11-12 00:30:41.158248277 +0100
|
|
|
|
@@ -277,6 +277,18 @@
|
2013-11-12 16:07:02 +00:00
|
|
|
|
|
|
|
#define RTW_PROC_NAME DRV_NAME
|
2013-07-11 23:24:16 +00:00
|
|
|
|
|
|
|
+#ifndef create_proc_entry
|
|
|
|
+/* dummy routines */
|
|
|
|
+void rtw_proc_remove_one(struct net_device *dev)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+void rtw_proc_init_one(struct net_device *dev)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
2016-12-10 07:31:21 +00:00
|
|
|
+#else /* create_proc_entry not defined */
|
2013-07-11 23:24:16 +00:00
|
|
|
+
|
|
|
|
void rtw_proc_init_one(struct net_device *dev)
|
|
|
|
{
|
|
|
|
struct proc_dir_entry *dir_dev = NULL;
|
2016-12-10 07:31:21 +00:00
|
|
|
@@ -751,6 +763,7 @@
|
|
|
|
}
|
2013-07-11 23:24:16 +00:00
|
|
|
}
|
|
|
|
}
|
2016-12-10 07:31:21 +00:00
|
|
|
+#endif /* create_proc_entry not defined */
|
2013-07-11 23:24:16 +00:00
|
|
|
#endif
|
|
|
|
|
2013-11-12 16:07:02 +00:00
|
|
|
uint loadparam( _adapter *padapter, _nic_hdl pnetdev);
|