Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60589
b: refs/heads/master
c: b96fbb6
h: refs/heads/master
i:
  60587: dc4ea27
v: v3
  • Loading branch information
Geoff Levand authored and Paul Mackerras committed Jun 28, 2007
1 parent 6283fed commit 707dbc1
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: 0aa97d6e420039fc4a6040acdf53e56e0f90c0f5
refs/heads/master: b96fbb6e1eb81bb21a8c3462773a0056e12de427
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/ofconsole.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static int of_console_open(void)
return -1;
}

static void of_console_write(char *buf, int len)
static void of_console_write(const char *buf, int len)
{
of_call_prom("write", 3, 1, of_stdout_handle, buf, len);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ extern struct dt_ops dt_ops;
/* Console operations */
struct console_ops {
int (*open)(void);
void (*write)(char *buf, int len);
void (*write)(const char *buf, int len);
void (*edit_cmdline)(char *buf, int len);
void (*close)(void);
void *data;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static int serial_open(void)
return scdp->open();
}

static void serial_write(char *buf, int len)
static void serial_write(const char *buf, int len)
{
struct serial_console_data *scdp = console_ops.data;

Expand Down

0 comments on commit 707dbc1

Please sign in to comment.