]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: bcm: Replace UINT with unsigned int in led_control.h
authorKevin McKinney <klmckinney1@gmail.com>
Sat, 15 Dec 2012 00:26:49 +0000 (19:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:51:50 +0000 (10:51 -0800)
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>
drivers/staging/bcm/led_control.h

index 50a6d7defd745a59ec7eb46445350458e112a925..c44dd02b08ab951c0e370afb6376011e1cd52c73 100644 (file)
 #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)); \