projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c9ce44
)
extcon: wrap modifies with amlogic marco
author
jianxin.pan
<jianxin.pan@amlogic.com>
Tue, 11 Jul 2017 11:14:11 +0000
(19:14 +0800)
committer
Ao Xu
<ao.xu@amlogic.com>
Tue, 11 Jul 2017 11:19:03 +0000
(19:19 +0800)
PD#138714: wrap changs with CONFIG_AMLOGIC_MODIFY
Change-Id: I7ffff7940f13012a1d898635eefe75feb8c17268
Signed-off-by: jianxin.pan <jianxin.pan@amlogic.com>
drivers/extcon/extcon.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon.c
b/drivers/extcon/extcon.c
index
e99ad94
..
736c3fa
100644
(file)
--- a/
drivers/extcon/extcon.c
+++ b/
drivers/extcon/extcon.c
@@
-1075,7
+1075,7
@@
int extcon_dev_register(struct extcon_dev *edev)
edev->dev.class = extcon_class;
edev->dev.release = extcon_dev_release;
-#ifdef AMLOGIC_MODIFY
+#ifdef
CONFIG_
AMLOGIC_MODIFY
if (!edev->name) {
edev->name = dev_name(edev->dev.parent);
if (IS_ERR_OR_NULL(edev->name)) {