projects
/
platform
/
hal
/
backend
/
emulator
/
device-emulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60e4c5c
)
external_conneciton: Replace macro external connection device type to hal_device_exte...
59/310159/1
author
Yunhee Seo
<yuni.seo@samsung.com>
Tue, 23 Apr 2024 08:02:25 +0000
(17:02 +0900)
committer
Yunhee Seo
<yuni.seo@samsung.com>
Tue, 23 Apr 2024 08:02:25 +0000
(17:02 +0900)
As external connection device type macros are replaced by hal_device_external_connection_device_type_e,
definition usage logic is also changed.
Change-Id: I1f617f86f605290a7f3c21ebe3724e7d503cb346
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
hw/external_connection/external_connection.c
patch
|
blob
|
history
diff --git
a/hw/external_connection/external_connection.c
b/hw/external_connection/external_connection.c
index 3a7bd62b74531a107cb87417e46062f2b4dbdf4b..859bec528861efd012162d94cae9f5e4073c0db1 100644
(file)
--- a/
hw/external_connection/external_connection.c
+++ b/
hw/external_connection/external_connection.c
@@
-50,11
+50,11
@@
struct extcon_device {
char *name;
-
char *
type;
+
hal_device_external_connection_device_type_e
type;
char *path;
} extcon_devices[] = {
- { EXTCON_USB, EXTERNAL_CONNECTION_USB, EXTCON_USB_PATH, },
- { EXTCON_EARJACK, EXTERNAL_CONNECTION_HEADPHONE, EXTCON_EARJACK_PATH, },
+ { EXTCON_USB,
HAL_DEVICE_
EXTERNAL_CONNECTION_USB, EXTCON_USB_PATH, },
+ { EXTCON_EARJACK,
HAL_DEVICE_
EXTERNAL_CONNECTION_HEADPHONE, EXTCON_EARJACK_PATH, },
};
static guint signal_id; /* signal handler id */