diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2003-05-26 02:57:34 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-26 02:57:34 -0700 |
| commit | 01b72bb3e4a9ebc407f0f69174fe60858c1702c7 (patch) | |
| tree | e10b4aa63786e88b4fc1b8af54a8966f33e24411 | |
| parent | 940d8f82a428b068bb03c046b338f572ec1914b5 (diff) | |
[PATCH] const char* to char* update in console.h
From: Amit Shah <shahamit@gmx.net>
The read function for consoles in include/linux/console.h contains const
char* for a pointer that it will actually modify. Although no one seems
to be using this as of now, it should be corrected.
| -rw-r--r-- | include/linux/console.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/console.h b/include/linux/console.h index 0b599fef2b89..414ebe159d67 100644 --- a/include/linux/console.h +++ b/include/linux/console.h @@ -96,7 +96,7 @@ struct console { char name[8]; void (*write)(struct console *, const char *, unsigned); - int (*read)(struct console *, const char *, unsigned); + int (*read)(struct console *, char *, unsigned); struct tty_driver *(*device)(struct console *, int *); void (*unblank)(void); int (*setup)(struct console *, char *); |
