OSDN Git Service

amdgpu/dc: add static to construct function
authorDave Airlie <airlied@redhat.com>
Wed, 27 Sep 2017 23:21:33 +0000 (09:21 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2017 20:49:36 +0000 (16:49 -0400)
There was a global construct symbol in the module symbols, kill it.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/irq/dce110/irq_service_dce110.c

index a6c3a72..5c55896 100644 (file)
@@ -406,7 +406,7 @@ static const struct irq_service_funcs irq_service_funcs_dce110 = {
                .to_dal_irq_source = to_dal_irq_source_dce110
 };
 
-bool construct(
+static bool construct(
        struct irq_service *irq_service,
        struct irq_service_init_data *init_data)
 {