diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-09-23 11:44:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-23 14:34:43 -0400 |
commit | 13b5aeccc4350e5069c723e8f9becd7208ee02f2 (patch) | |
tree | 84decf7505e98d2e1d7a0935219f8b5e006c04d7 /drivers/char | |
parent | d7b2004528a967f2ba0bf31b1eb0da6a876960e6 (diff) |
[PATCH] more fallout from get_property returning pointer to const
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/briq_panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/briq_panel.c b/drivers/char/briq_panel.c index a0e5eac5f33a..caae795dd3e7 100644 --- a/drivers/char/briq_panel.c +++ b/drivers/char/briq_panel.c | |||
@@ -202,7 +202,7 @@ static struct miscdevice briq_panel_miscdev = { | |||
202 | static int __init briq_panel_init(void) | 202 | static int __init briq_panel_init(void) |
203 | { | 203 | { |
204 | struct device_node *root = find_path_device("/"); | 204 | struct device_node *root = find_path_device("/"); |
205 | char *machine; | 205 | const char *machine; |
206 | int i; | 206 | int i; |
207 | 207 | ||
208 | machine = get_property(root, "model", NULL); | 208 | machine = get_property(root, "model", NULL); |