aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/bcm
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-12-14 19:26:49 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 10:51:50 -0800
commita6f0b530e56d8b7ee428d92af1c7da88e4d9d583 (patch)
tree564e8ad9b689797a3a72744a98eda16d84848084 /drivers/staging/bcm
parentdf3d870f57fef53aa8e90ee9f6170bb7181ff44b (diff)
Staging: bcm: Replace UINT with unsigned int in led_control.h
This patch replaces "UINT" with "unsigned int" in led_control.h. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r--drivers/staging/bcm/led_control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/bcm/led_control.h b/drivers/staging/bcm/led_control.h
index 50a6d7defd7..c44dd02b08a 100644
--- a/drivers/staging/bcm/led_control.h
+++ b/drivers/staging/bcm/led_control.h
@@ -18,14 +18,14 @@
#define MAX_FILE_NAME_BUFFER_SIZE 100
#define TURN_ON_LED(GPIO, index) do { \
- UINT gpio_val = GPIO; \
+ unsigned int gpio_val = GPIO; \
(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)
#define TURN_OFF_LED(GPIO, index) do { \
- UINT gpio_val = GPIO; \
+ unsigned int 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)); \