Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353781
b: refs/heads/master
c: a6f0b53
h: refs/heads/master
i:
  353779: bc39450
v: v3
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 5dc41c4 commit 68a8921
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: df3d870f57fef53aa8e90ee9f6170bb7181ff44b
refs/heads/master: a6f0b530e56d8b7ee428d92af1c7da88e4d9d583
4 changes: 2 additions & 2 deletions trunk/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 68a8921

Please sign in to comment.