diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-12-14 19:26:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 10:51:49 -0800 |
commit | 20dcfc53580b67521a8f6a3375998975955e866e (patch) | |
tree | b575a14304e73877d618726d5b287c5a91800dab /drivers/staging/bcm/led_control.h | |
parent | 48ac0ca5ae8ad232d1a9007f61f5a754bb63b49f (diff) | |
download | op-kernel-dev-20dcfc53580b67521a8f6a3375998975955e866e.zip op-kernel-dev-20dcfc53580b67521a8f6a3375998975955e866e.tar.gz |
Staging: bcm: Fix warning: "do {} while (0) macros should not be semicolon terminated" in led_control.h
This patch properly fixes the warning "do {} while
(0) macros should not be semicolon terminated" as
reported by checkpath.pl
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/led_control.h')
-rw-r--r-- | drivers/staging/bcm/led_control.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/led_control.h b/drivers/staging/bcm/led_control.h index 3eef21c..8ae8e43 100644 --- a/drivers/staging/bcm/led_control.h +++ b/drivers/staging/bcm/led_control.h @@ -22,14 +22,14 @@ (Adapter->LEDInfo.LEDState[index].BitPolarity == 1) ? \ wrmaltWithLock(Adapter, BCM_GPIO_OUTPUT_SET_REG, &gpio_val, sizeof(gpio_val)) : \ wrmaltWithLock(Adapter, BCM_GPIO_OUTPUT_CLR_REG, &gpio_val, sizeof(gpio_val)); \ - } while (0); + } while (0) #define TURN_OFF_LED(GPIO, index) do { \ UINT gpio_val = GPIO; \ (Adapter->LEDInfo.LEDState[index].BitPolarity == 1) ? \ wrmaltWithLock(Adapter, BCM_GPIO_OUTPUT_CLR_REG, &gpio_val, sizeof(gpio_val)) : \ wrmaltWithLock(Adapter, BCM_GPIO_OUTPUT_SET_REG, &gpio_val, sizeof(gpio_val)); \ - } while (0); + } while (0) #define B_ULONG32 unsigned long |