Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206180
b: refs/heads/master
c: 54e5bc0
h: refs/heads/master
v: v3
  • Loading branch information
Andres Salomon authored and H. Peter Anvin committed Jul 31, 2010
1 parent 8a75d65 commit cf6c913
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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: 25971865d48a8d0ece5307a59dbd3f06d05a7567
refs/heads/master: 54e5bc020ce1c959eaa7be18cedb734b6b13745e
2 changes: 1 addition & 1 deletion trunk/arch/x86/include/asm/olpc_ofw.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#define olpc_ofw(name, args, res) \
__olpc_ofw((name), ARRAY_SIZE(args), args, ARRAY_SIZE(res), res)

extern int __olpc_ofw(const char *name, int nr_args, void **args, int nr_res,
extern int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res,
void **res);

/* determine whether OFW is available and lives in the proper memory */
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/olpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static void __init platform_detect(void)
{
size_t propsize;
__be32 rev;
void *args[] = { NULL, "board-revision-int", &rev, (void *)4 };
const void *args[] = { NULL, "board-revision-int", &rev, (void *)4 };
void *res[] = { &propsize };

if (olpc_ofw("getprop", args, res) || propsize != 4) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/olpc_ofw.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void __init setup_olpc_ofw_pgd(void)
early_iounmap(base, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD);
}

int __olpc_ofw(const char *name, int nr_args, void **args, int nr_res,
int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res,
void **res)
{
int ofw_args[MAXARGS + 3];
Expand Down

0 comments on commit cf6c913

Please sign in to comment.