Skip to content

Commit

Permalink
[media] staging: as102: Remove linkage specifiers for C++
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sylwester Nawrocki authored and Mauro Carvalho Chehab committed Nov 8, 2011
1 parent 7d462fe commit c20ec03
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/staging/media/as102/as10x_cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -488,10 +488,6 @@ void as10x_cmd_build(struct as10x_cmd_t *pcmd, uint16_t proc_id,
uint16_t cmd_len);
int as10x_rsp_parse(struct as10x_cmd_t *r, uint16_t proc_id);

#ifdef __cplusplus
extern "C" {
#endif

/* as10x cmd */
int as10x_cmd_turn_on(as10x_handle_t *phandle);
int as10x_cmd_turn_off(as10x_handle_t *phandle);
Expand Down Expand Up @@ -530,7 +526,4 @@ int as10x_cmd_get_context(as10x_handle_t *phandle,

int as10x_cmd_eLNA_change_mode(as10x_handle_t *phandle, uint8_t mode);
int as10x_context_rsp_parse(struct as10x_cmd_t *prsp, uint16_t proc_id);
#ifdef __cplusplus
}
#endif
#endif

0 comments on commit c20ec03

Please sign in to comment.