Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281318
b: refs/heads/master
c: c542341
h: refs/heads/master
v: v3
  • Loading branch information
Valentin Rothberg authored and Greg Kroah-Hartman committed Dec 8, 2011
1 parent 06d9870 commit b5a3521
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 88e09a5e30a2b768480ab52628043e7d30a0e079
refs/heads/master: c542341dff7cd818015247d290aa0971888a7b08
8 changes: 4 additions & 4 deletions trunk/drivers/staging/olpc_dcon/olpc_dcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@

/* Module definitions */

static int resumeline = 898;
module_param(resumeline, int, 0444);
static ushort resumeline = 898;
module_param(resumeline, ushort, 0444);

/* Default off since it doesn't work on DCON ASIC in B-test OLPC board */
static int useaa = 1;
Expand Down Expand Up @@ -498,10 +498,10 @@ static ssize_t dcon_freeze_store(struct device *dev,
static ssize_t dcon_resumeline_store(struct device *dev,
struct device_attribute *attr, const char *buf, size_t count)
{
unsigned long rl;
unsigned short rl;
int rc;

rc = strict_strtoul(buf, 10, &rl);
rc = kstrtou16(buf, 10, &rl);
if (rc)
return rc;

Expand Down

0 comments on commit b5a3521

Please sign in to comment.