diff options
| author | Kevin McKinney <klmckinney1@gmail.com> | 2012-12-14 19:26:49 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 10:51:50 -0800 |
| commit | a6f0b530e56d8b7ee428d92af1c7da88e4d9d583 (patch) | |
| tree | 564e8ad9b689797a3a72744a98eda16d84848084 /drivers | |
| parent | df3d870f57fef53aa8e90ee9f6170bb7181ff44b (diff) | |
| download | linux-a6f0b530e56d8b7ee428d92af1c7da88e4d9d583.tar.gz linux-a6f0b530e56d8b7ee428d92af1c7da88e4d9d583.tar.bz2 linux-a6f0b530e56d8b7ee428d92af1c7da88e4d9d583.zip | |
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')
| -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 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)); \ |
