From 24bcb07c01536715006ca1e55633acd1e2234347 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Sun, 27 Jan 2013 19:04:37 +0530 Subject: extcon: rename switch class to "switch_extcon" Rename switch class to "switch_extcon" as it conflicts with already created name. Change-Id: I5c6387fa9176ed1152034fd0ce8450787a0b882a Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/194457 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas GVS: Gerrit_Virtual_Submit --- drivers/extcon/extcon-class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/extcon') diff --git a/drivers/extcon/extcon-class.c b/drivers/extcon/extcon-class.c index 60adc04b0561..3ed63029c5a3 100644 --- a/drivers/extcon/extcon-class.c +++ b/drivers/extcon/extcon-class.c @@ -560,7 +560,7 @@ static int create_extcon_class(void) extcon_class->dev_attrs = extcon_attrs; #if defined(CONFIG_ANDROID) - switch_class = class_compat_register("switch"); + switch_class = class_compat_register("switch_extcon"); if (WARN(!switch_class, "cannot allocate")) return -ENOMEM; #endif /* CONFIG_ANDROID */ -- cgit v1.2.3