diff options
author | Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in> | 2018-03-15 17:59:15 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-19 17:14:40 +0100 |
commit | ad7d95e979eb16362144893784dc3c2bdb8884b7 (patch) | |
tree | 37cd61d948deca0e9c372799a86a34c883b12e51 /drivers/staging/sm750fb/ddk750_display.h | |
parent | 816148138518da9362a3b0c46f3cdf3d97282008 (diff) |
staging: sm750fb: Remove typedef
Change typedef enum to enum and ensure compatibility of change. Issue
found with checkpatch.
Signed-off-by: Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/ddk750_display.h')
-rw-r--r-- | drivers/staging/sm750fb/ddk750_display.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/sm750fb/ddk750_display.h b/drivers/staging/sm750fb/ddk750_display.h index 523bbf33521c..7fd101d98199 100644 --- a/drivers/staging/sm750fb/ddk750_display.h +++ b/drivers/staging/sm750fb/ddk750_display.h @@ -89,7 +89,7 @@ * LCD1 means panel path TFT1 & panel path DVI (so enable DAC) * CRT means crt path DSUB */ -typedef enum _disp_output_t { +enum disp_output { do_LCD1_PRI = PNL_2_PRI | PRI_TP_ON | PNL_SEQ_ON | DAC_ON, do_LCD1_SEC = PNL_2_SEC | SEC_TP_ON | PNL_SEQ_ON | DAC_ON, do_LCD2_PRI = CRT_2_PRI | PRI_TP_ON | DUAL_TFT_ON, @@ -100,9 +100,8 @@ typedef enum _disp_output_t { */ do_CRT_PRI = CRT_2_PRI | PRI_TP_ON | DPMS_ON | DAC_ON, do_CRT_SEC = CRT_2_SEC | SEC_TP_ON | DPMS_ON | DAC_ON, -} -disp_output_t; +}; -void ddk750_setLogicalDispOut(disp_output_t output); +void ddk750_setLogicalDispOut(enum disp_output output); #endif |