Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373598
b: refs/heads/master
c: 22976a5
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Thierry Reding committed Apr 2, 2013
1 parent 074f0c6 commit 5f165a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: b3fef7f10010e7946b3db1a34d8e0208e4f10001
refs/heads/master: 22976a5dada65a0f44918e91c5f1fb5041dc1d5e
7 changes: 3 additions & 4 deletions trunk/drivers/pwm/pwm-pxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@
#include <asm/div64.h>

#define HAS_SECONDARY_PWM 0x10
#define PWM_ID_BASE(d) ((d) & 0xf)

static const struct platform_device_id pwm_id_table[] = {
/* PWM has_secondary_pwm? */
{ "pxa25x-pwm", 0 },
{ "pxa27x-pwm", 0 | HAS_SECONDARY_PWM },
{ "pxa168-pwm", 1 },
{ "pxa910-pwm", 1 },
{ "pxa27x-pwm", HAS_SECONDARY_PWM },
{ "pxa168-pwm", 0 },
{ "pxa910-pwm", 0 },
{ },
};
MODULE_DEVICE_TABLE(platform, pwm_id_table);
Expand Down

0 comments on commit 5f165a2

Please sign in to comment.