diff --git a/drivers/edac/skx_edac.c b/drivers/edac/skx_edac.c index f3b3d3be1e845..9edcb29b30017 100644 --- a/drivers/edac/skx_edac.c +++ b/drivers/edac/skx_edac.c @@ -263,7 +263,7 @@ static int get_all_munits(const struct munit *m) return -ENODEV; } -const struct x86_cpu_id skx_cpuids[] = { +static const struct x86_cpu_id skx_cpuids[] = { { X86_VENDOR_INTEL, 6, INTEL_FAM6_SKYLAKE_X, 0, 0 }, { } }; @@ -1037,7 +1037,7 @@ static void skx_remove(void) * search for all the devices we need * check which DIMMs are present. */ -int __init skx_init(void) +static int __init skx_init(void) { const struct x86_cpu_id *id; const struct munit *m;