aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/of_platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h
index 5fd44e63fb2..448f70b30a0 100644
--- a/include/linux/of_platform.h
+++ b/include/linux/of_platform.h
@@ -31,8 +31,8 @@ extern struct bus_type of_platform_bus_type;
*/
struct of_platform_driver
{
- char *name;
- struct of_device_id *match_table;
+ const char *name;
+ const struct of_device_id *match_table;
struct module *owner;
int (*probe)(struct of_device* dev,