mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
30 lines
649 B
Diff
30 lines
649 B
Diff
--- ./os_dep/linux/os_intfs.c 2013-11-11 20:42:46.783120135 +0100
|
|
+++ ./os_dep/linux/os_intfs.c 2013-11-11 20:42:07.226118726 +0100
|
|
@@ -277,6 +277,19 @@
|
|
|
|
#define RTW_PROC_NAME DRV_NAME
|
|
|
|
+#ifndef create_proc_entry
|
|
+
|
|
+/* dummy routines */
|
|
+void rtw_proc_remove_one(struct net_device *dev)
|
|
+{
|
|
+}
|
|
+
|
|
+void rtw_proc_init_one(struct net_device *dev)
|
|
+{
|
|
+}
|
|
+
|
|
+#else /* create_proc_entry not defined */
|
|
+
|
|
void rtw_proc_init_one(struct net_device *dev)
|
|
{
|
|
struct proc_dir_entry *dir_dev = NULL;
|
|
@@ -752,6 +765,7 @@
|
|
}
|
|
}
|
|
#endif
|
|
+#endif
|
|
|
|
uint loadparam( _adapter *padapter, _nic_hdl pnetdev);
|
|
uint loadparam( _adapter *padapter, _nic_hdl pnetdev)
|