[PATCH 06/11] Staging: bcm: Replace UINT with unsigned int in led_control.h

Kevin McKinney klmckinney1 at gmail.com
Sat Dec 15 00:26:49 UTC 2012


This patch replaces "UINT" with "unsigned int" in
led_control.h.

Signed-off-by: Kevin McKinney <klmckinney1 at gmail.com>
---
 drivers/staging/bcm/led_control.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/bcm/led_control.h b/drivers/staging/bcm/led_control.h
index 50a6d7d..c44dd02 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)); \
-- 
1.7.9.5




More information about the devel mailing list