Skip to content

Commit

Permalink
Staging: most: Remove __cplusplus check in header files
Browse files Browse the repository at this point in the history
Remove unnecessary __cplusplus check in header files as it is not
required.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
PrasannaKumar Muralidharan authored and Greg Kroah-Hartman committed Mar 28, 2016
1 parent ff59f2a commit 29efdd3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
8 changes: 0 additions & 8 deletions drivers/staging/most/hdm-dim2/dim2_errors.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
#ifndef _MOST_DIM_ERRORS_H
#define _MOST_DIM_ERRORS_H

#ifdef __cplusplus
extern "C" {
#endif

/**
* MOST DIM errors.
*/
Expand Down Expand Up @@ -58,8 +54,4 @@ enum dim_errors_t {
DIM_ERR_OVERFLOW,
};

#ifdef __cplusplus
}
#endif

#endif /* _MOST_DIM_ERRORS_H */
8 changes: 0 additions & 8 deletions drivers/staging/most/hdm-dim2/dim2_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
#include <linux/types.h>
#include "dim2_reg.h"

#ifdef __cplusplus
extern "C" {
#endif

/*
* The values below are specified in the hardware specification.
* So, they should not be changed until the hardware specification changes.
Expand Down Expand Up @@ -108,8 +104,4 @@ void dimcb_io_write(u32 __iomem *ptr32, u32 value);

void dimcb_on_error(u8 error_id, const char *error_message);

#ifdef __cplusplus
}
#endif

#endif /* _DIM2_HAL_H */
8 changes: 0 additions & 8 deletions drivers/staging/most/hdm-dim2/dim2_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@

#include <linux/types.h>

#ifdef __cplusplus
extern "C" {
#endif

struct dim2_regs {
/* 0x00 */ u32 MLBC0;
/* 0x01 */ u32 rsvd0[1];
Expand Down Expand Up @@ -166,8 +162,4 @@ enum {
CAT_CL_MASK = DIM2_MASK(6)
};

#ifdef __cplusplus
}
#endif

#endif /* DIM2_OS62420_H */

0 comments on commit 29efdd3

Please sign in to comment.