diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:32 +0000 |
commit | 630eac6638a0a351226258b894dd7cb65e8bb979 (patch) | |
tree | 22cf690c897bb28edc6d884004d8447070d582ea /target/linux/atheros/patches-3.10/130-watchdog.patch | |
parent | cb50efa835322c34e27056d2afa23db850f9e3c8 (diff) | |
download | upstream-630eac6638a0a351226258b894dd7cb65e8bb979.tar.gz upstream-630eac6638a0a351226258b894dd7cb65e8bb979.tar.bz2 upstream-630eac6638a0a351226258b894dd7cb65e8bb979.zip |
atheros: parenthesis around complex macroses value
Use parenthesis around complex macroses value as suggested by
checkpatch.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41082
Diffstat (limited to 'target/linux/atheros/patches-3.10/130-watchdog.patch')
-rw-r--r-- | target/linux/atheros/patches-3.10/130-watchdog.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-3.10/130-watchdog.patch b/target/linux/atheros/patches-3.10/130-watchdog.patch index b13c42d5ec..8c61c91a0a 100644 --- a/target/linux/atheros/patches-3.10/130-watchdog.patch +++ b/target/linux/atheros/patches-3.10/130-watchdog.patch @@ -41,7 +41,7 @@ +#include <ar231x.h> + +#define CLOCK_RATE 40000000 -+#define HEARTBEAT(x) (x < 1 || x > 90)?(20):(x) ++#define HEARTBEAT(x) (x < 1 || x > 90 ? 20 : x) + +static int wdt_timeout = 20; +static int started = 0; |