aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/ar7-atm/patches-D7.04.03.00/230-compile_fixes.patch
diff options
context:
space:
mode:
authorJames <>2015-11-04 11:49:21 +0000
committerJames <>2015-11-04 11:49:21 +0000
commit716ca530e1c4515d8683c9d5be3d56b301758b66 (patch)
tree700eb5bcc1a462a5f21dcec15ce7c97ecfefa772 /package/kernel/ar7-atm/patches-D7.04.03.00/230-compile_fixes.patch
downloadtrunk-47381-master.tar.gz
trunk-47381-master.tar.bz2
trunk-47381-master.zip
trunk-47381HEADmaster
Diffstat (limited to 'package/kernel/ar7-atm/patches-D7.04.03.00/230-compile_fixes.patch')
-rw-r--r--package/kernel/ar7-atm/patches-D7.04.03.00/230-compile_fixes.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/package/kernel/ar7-atm/patches-D7.04.03.00/230-compile_fixes.patch b/package/kernel/ar7-atm/patches-D7.04.03.00/230-compile_fixes.patch
new file mode 100644
index 0000000..c7d9127
--- /dev/null
+++ b/package/kernel/ar7-atm/patches-D7.04.03.00/230-compile_fixes.patch
@@ -0,0 +1,44 @@
+--- a/cp_sar_reg.h
++++ b/cp_sar_reg.h
+@@ -214,4 +214,4 @@
+
+ /* END OF FILE */
+
+-#endif _INC_SAR_REG
++#endif
+--- a/tn7api.h
++++ b/tn7api.h
+@@ -172,4 +172,4 @@ void tn7sar_get_sar_firmware_version(uns
+ extern struct file_operations tn7sar_proc_oam_ping_fops;
+ extern struct file_operations tn7sar_proc_pvc_table_fops;
+ int tn7sar_tx_flush(void *privContext, int chan, int queue, int skip);
+-#endif __SGAPI_H
++#endif
+--- a/tn7atm.h
++++ b/tn7atm.h
+@@ -276,4 +276,4 @@ typedef struct
+ #define PHYS_TO_K1(X) (PHYS_ADDR(X)|K1BASE)
+ #endif
+
+-#endif __TN7ATM_H
++#endif
+--- a/dsl_hal_api.h
++++ b/dsl_hal_api.h
+@@ -2448,7 +2448,7 @@ unsigned int dslhal_api_getHLINpsds(tids
+ *
+ ********************************************************************************************/
+
+-unsigned int dslhal_api_getHighPrecision();
++unsigned int dslhal_api_getHighPrecision(void);
+
+ /********************************************************************************************
+ * FUNCTION NAME: void dslhal_api_setHighPrecision
+@@ -2459,7 +2459,7 @@ unsigned int dslhal_api_getHighPrecision
+ * Return: None
+ ********************************************************************************************/
+
+-void dslhal_api_setHighPrecision();
++void dslhal_api_setHighPrecision(void);
+ // UR8_MERGE_END CQ11054*
+
+ #ifdef INTERNAL_BUILD