mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
11baab9fac
This makes the components used on the lantiq SoCs compile with kernel 6.1. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> [also fix ifxmips_ptm_adsl.c] Signed-off-by: Martin Schiller <ms@dev.tdt.de>
21 lines
675 B
Diff
21 lines
675 B
Diff
--- a/src/drv_vmmc_api.h
|
|
+++ b/src/drv_vmmc_api.h
|
|
@@ -149,17 +149,6 @@ DECLARE_TRACE_GROUP(VMMC);
|
|
return code; \
|
|
}while(0)
|
|
|
|
-/*******************************************************************************
|
|
-Description:
|
|
- always returns the absolute value of argument given
|
|
-Arguments:
|
|
- x - argument
|
|
-Return:
|
|
- absolute value of x
|
|
-*******************************************************************************/
|
|
-/* define ABS */
|
|
-#define ABS(x) (((x) < 0) ? -(x) : (x))
|
|
-
|
|
/* regular format macros */
|
|
/*******************************************************************************
|
|
Description:
|