Skip to content

Commit

Permalink
Staging: bcm: Replace UINT with unsigned int in led_control.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent df3d870 commit a6f0b53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/bcm/led_control.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)); \
Expand Down

0 comments on commit a6f0b53

Please sign in to comment.