From: Kevin McKinney Date: Sat, 15 Dec 2012 00:26:49 +0000 (-0500) Subject: Staging: bcm: Replace UINT with unsigned int in led_control.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a6f0b530e56d8b7ee428d92af1c7da88e4d9d583;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/bcm/led_control.h b/drivers/staging/bcm/led_control.h index 50a6d7defd74..c44dd02b08ab 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)); \