aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/base/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c
index 75057aaab809..e078bc21d52e 100644
--- a/drivers/base/class.c
+++ b/drivers/base/class.c
@@ -197,7 +197,7 @@ static int class_device_create_uevent(struct class_device *class_dev,
197 * Note, the pointer created here is to be destroyed when finished by 197 * Note, the pointer created here is to be destroyed when finished by
198 * making a call to class_destroy(). 198 * making a call to class_destroy().
199 */ 199 */
200struct class *class_create(struct module *owner, char *name) 200struct class *class_create(struct module *owner, const char *name)
201{ 201{
202 struct class *cls; 202 struct class *cls;
203 int retval; 203 int retval;