mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-19 11:43:40 +00:00
staging: sm750fb: remove typedef for enum in ddk750_sii164.{c,h}
Removing this will make sure that we are actually working with enum. Also it is not a good coding style to use typedef. In this commit remove typedef and also drop '_t' which traditionally means typedef Signed-off-by: Keerthi Reddy <keerthigd4990@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3ec58059d1
commit
60d379e129
@ -296,7 +296,8 @@ void sii164SetPower(unsigned char powerUp)
|
||||
* sii164SelectHotPlugDetectionMode
|
||||
* This function selects the mode of the hot plug detection.
|
||||
*/
|
||||
static void sii164SelectHotPlugDetectionMode(sii164_hot_plug_mode_t hotPlugMode)
|
||||
static
|
||||
void sii164SelectHotPlugDetectionMode(enum sii164_hot_plug_mode hotPlugMode)
|
||||
{
|
||||
unsigned char detectReg;
|
||||
|
||||
|
@ -4,12 +4,12 @@
|
||||
#define USE_DVICHIP
|
||||
|
||||
/* Hot Plug detection mode structure */
|
||||
typedef enum _sii164_hot_plug_mode_t {
|
||||
enum sii164_hot_plug_mode {
|
||||
SII164_HOTPLUG_DISABLE = 0, /* Disable Hot Plug output bit (always high). */
|
||||
SII164_HOTPLUG_USE_MDI, /* Use Monitor Detect Interrupt bit. */
|
||||
SII164_HOTPLUG_USE_RSEN, /* Use Receiver Sense detect bit. */
|
||||
SII164_HOTPLUG_USE_HTPLG /* Use Hot Plug detect bit. */
|
||||
} sii164_hot_plug_mode_t;
|
||||
};
|
||||
|
||||
|
||||
/* Silicon Image SiI164 chip prototype */
|
||||
|
Loading…
x
Reference in New Issue
Block a user