diff options
author | Sylwester Nawrocki <snjw23@gmail.com> | 2011-11-06 14:31:46 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-08 08:31:13 -0500 |
commit | c20ec0354f89d402c68d657d94ec3a96c82dcfb5 (patch) | |
tree | 43999cab1b4798ff44109708aaed3a212f6f179c | |
parent | 7d462fe580d6b73f0307588b898b2e6c8ad45d41 (diff) |
[media] staging: as102: Remove linkage specifiers for C++
The as10x_cmd.h header is not public so there should be no need
for an "extern "C"" in it.
Cc: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Sylwester Nawrocki <snjw23@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/staging/media/as102/as10x_cmd.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/media/as102/as10x_cmd.h b/drivers/staging/media/as102/as10x_cmd.h index 9af8862e4d0f..da31c6d2fe8a 100644 --- a/drivers/staging/media/as102/as10x_cmd.h +++ b/drivers/staging/media/as102/as10x_cmd.h | |||
@@ -488,10 +488,6 @@ void as10x_cmd_build(struct as10x_cmd_t *pcmd, uint16_t proc_id, | |||
488 | uint16_t cmd_len); | 488 | uint16_t cmd_len); |
489 | int as10x_rsp_parse(struct as10x_cmd_t *r, uint16_t proc_id); | 489 | int as10x_rsp_parse(struct as10x_cmd_t *r, uint16_t proc_id); |
490 | 490 | ||
491 | #ifdef __cplusplus | ||
492 | extern "C" { | ||
493 | #endif | ||
494 | |||
495 | /* as10x cmd */ | 491 | /* as10x cmd */ |
496 | int as10x_cmd_turn_on(as10x_handle_t *phandle); | 492 | int as10x_cmd_turn_on(as10x_handle_t *phandle); |
497 | int as10x_cmd_turn_off(as10x_handle_t *phandle); | 493 | int as10x_cmd_turn_off(as10x_handle_t *phandle); |
@@ -530,7 +526,4 @@ int as10x_cmd_get_context(as10x_handle_t *phandle, | |||
530 | 526 | ||
531 | int as10x_cmd_eLNA_change_mode(as10x_handle_t *phandle, uint8_t mode); | 527 | int as10x_cmd_eLNA_change_mode(as10x_handle_t *phandle, uint8_t mode); |
532 | int as10x_context_rsp_parse(struct as10x_cmd_t *prsp, uint16_t proc_id); | 528 | int as10x_context_rsp_parse(struct as10x_cmd_t *prsp, uint16_t proc_id); |
533 | #ifdef __cplusplus | ||
534 | } | ||
535 | #endif | ||
536 | #endif | 529 | #endif |