diff options
author | Thomas Gleixner | 2020-03-20 14:13:52 +0100 |
---|---|---|
committer | Borislav Petkov | 2020-03-24 21:29:38 +0100 |
commit | 9595198f8dc4111f8cab39de2c0c4432787bc690 (patch) | |
tree | bb997d30c6cf5e8d636e7a97ebd1c618d81d9b80 /arch/x86/platform/intel-quark/imr.c | |
parent | adefe55e725821e8ae23207992ded5994f1650a9 (diff) |
x86/platform: Convert to new CPU match macros
The new macro set has a consistent namespace and uses C99 initializers
instead of the grufty C89 ones.
Get rid the of the local macro wrappers for consistency.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lkml.kernel.org/r/20200320131509.359448901@linutronix.de
Diffstat (limited to 'arch/x86/platform/intel-quark/imr.c')
-rw-r--r-- | arch/x86/platform/intel-quark/imr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/platform/intel-quark/imr.c b/arch/x86/platform/intel-quark/imr.c index e9d97d52475e..0286fe1b14b5 100644 --- a/arch/x86/platform/intel-quark/imr.c +++ b/arch/x86/platform/intel-quark/imr.c @@ -569,7 +569,7 @@ static void __init imr_fixup_memmap(struct imr_device *idev) } static const struct x86_cpu_id imr_ids[] __initconst = { - { X86_VENDOR_INTEL, 5, 9 }, /* Intel Quark SoC X1000. */ + X86_MATCH_VENDOR_FAM_MODEL(INTEL, 5, INTEL_FAM5_QUARK_X1000, NULL), {} }; |