Skip to content

Commit 0d93f39

Browse files
Rodrigo Siqueiraalexdeucher
authored andcommitted
drm/amd/display: Correct enum typo
This commit just replaces dc_interrupt_po*r*larity with its correct name, which is dc_interrupt_polarity. Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Acked-by: Roman Li <roman.li@amd.com> Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent fc0479a commit 0d93f39

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpu/drm/amd/display/dc/irq_types.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ enum dc_interrupt_context {
178178
INTERRUPT_CONTEXT_NUMBER
179179
};
180180

181-
enum dc_interrupt_porlarity {
181+
enum dc_interrupt_polarity {
182182
INTERRUPT_POLARITY_DEFAULT = 0,
183183
INTERRUPT_POLARITY_LOW = INTERRUPT_POLARITY_DEFAULT,
184184
INTERRUPT_POLARITY_HIGH,
@@ -199,12 +199,12 @@ struct dc_interrupt_params {
199199
/* The polarity *change* which will trigger an interrupt.
200200
* If 'requested_polarity == INTERRUPT_POLARITY_BOTH', then
201201
* 'current_polarity' must be initialised. */
202-
enum dc_interrupt_porlarity requested_polarity;
202+
enum dc_interrupt_polarity requested_polarity;
203203
/* If 'requested_polarity == INTERRUPT_POLARITY_BOTH',
204204
* 'current_polarity' should contain the current state, which means
205205
* the interrupt will be triggered when state changes from what is,
206206
* in 'current_polarity'. */
207-
enum dc_interrupt_porlarity current_polarity;
207+
enum dc_interrupt_polarity current_polarity;
208208
enum dc_irq_source irq_source;
209209
enum dc_interrupt_context int_context;
210210
};

0 commit comments

Comments
 (0)