diff options
author | taeyoung <ty317.kim@samsung.com> | 2015-02-09 15:59:19 +0900 |
---|---|---|
committer | taeyoung <ty317.kim@samsung.com> | 2015-02-10 20:24:31 +0900 |
commit | 357bd782f458f4ed8e22c8a1377db6672f588bf9 (patch) | |
tree | 771e73be1967882191ef8be04de393587546acb0 | |
parent | 9e396ae38dea5a5c8b19db66785b79a6a0c1d195 (diff) | |
download | deviced-357bd782f458f4ed8e22c8a1377db6672f588bf9.tar.gz deviced-357bd782f458f4ed8e22c8a1377db6672f588bf9.tar.bz2 deviced-357bd782f458f4ed8e22c8a1377db6672f588bf9.zip |
extcon: change extcon object type from 'const' to normal
- Extcon object contains status element and it can be updated
by extcon status. Thus 'const' is removed for the extcon object
Change-Id: I7a26af7ac8c878a145a4a68d77e9af2cc72607b1
Signed-off-by: taeyoung <ty317.kim@samsung.com>
-rwxr-xr-x | src/extcon/extcon.c | 4 | ||||
-rwxr-xr-x | src/extcon/extcon.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/extcon/extcon.c b/src/extcon/extcon.c index 842c3c5d..cd2cc5fa 100755 --- a/src/extcon/extcon.c +++ b/src/extcon/extcon.c @@ -33,12 +33,12 @@ static dd_list *extcon_list; -void add_extcon(const struct extcon_ops *dev) +void add_extcon(struct extcon_ops *dev) { DD_LIST_APPEND(extcon_list, dev); } -void remove_extcon(const struct extcon_ops *dev) +void remove_extcon(struct extcon_ops *dev) { DD_LIST_REMOVE(extcon_list, dev); } diff --git a/src/extcon/extcon.h b/src/extcon/extcon.h index f0b6ea1a..28fc8a13 100755 --- a/src/extcon/extcon.h +++ b/src/extcon/extcon.h @@ -38,8 +38,8 @@ static void __DESTRUCTOR__ extcon_exit(void) \ remove_extcon(dev); \ } -void add_extcon(const struct extcon_ops *dev); -void remove_extcon(const struct extcon_ops *dev); +void add_extcon(struct extcon_ops *dev); +void remove_extcon(struct extcon_ops *dev); int extcon_update(const char *value); int extcon_get_status(const char *name); |