1-4, 6-11 are Reviewed-by: Harry Wentland <harry.wentland at amd.com> Harry On 2017-10-11 10:06 AM, Alex Deucher wrote: > It's not used outside the file. > > Signed-off-by: Alex Deucher <alexander.deucher at amd.com> > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 6 +++--- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h | 9 --------- > 2 files changed, 3 insertions(+), 12 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c > index 1b7df0b..52b6e4a 100644 > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c > @@ -560,9 +560,9 @@ static void amdgpu_dm_irq_immediate_work(struct amdgpu_device *adev, > * Generic IRQ handler, calls all registered high irq work immediately, and > * schedules work for low irq > */ > -int amdgpu_dm_irq_handler(struct amdgpu_device *adev, > - struct amdgpu_irq_src *source, > - struct amdgpu_iv_entry *entry) > +static int amdgpu_dm_irq_handler(struct amdgpu_device *adev, > + struct amdgpu_irq_src *source, > + struct amdgpu_iv_entry *entry) > { > > enum dc_irq_source src = > diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h > index 393fcf7..82f8e76 100644 > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h > @@ -80,15 +80,6 @@ void amdgpu_dm_irq_unregister_interrupt(struct amdgpu_device *adev, > enum dc_irq_source irq_source, > void *ih_index); > > -/** > - * amdgpu_dm_irq_handler > - * Generic IRQ handler, calls all registered high irq work immediately, and > - * schedules work for low irq > - */ > -int amdgpu_dm_irq_handler(struct amdgpu_device *adev, > - struct amdgpu_irq_src *source, > - struct amdgpu_iv_entry *entry); > - > void amdgpu_dm_set_irq_funcs(struct amdgpu_device *adev); > > void amdgpu_dm_hpd_init(struct amdgpu_device *adev); >