| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * elanfreq: cpufreq driver for the AMD ELAN family |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * All Rights Reserved. |
|---|
| 9 | 10 | * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or |
|---|
| 11 | | - * modify it under the terms of the GNU General Public License |
|---|
| 12 | | - * as published by the Free Software Foundation; either version |
|---|
| 13 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 14 | | - * |
|---|
| 15 | 11 | * 2002-02-13: - initial revision for 2.4.18-pre9 by Robert Schwebel |
|---|
| 16 | | - * |
|---|
| 17 | 12 | */ |
|---|
| 18 | 13 | |
|---|
| 19 | 14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
|---|
| .. | .. |
|---|
| 203 | 198 | }; |
|---|
| 204 | 199 | |
|---|
| 205 | 200 | static const struct x86_cpu_id elan_id[] = { |
|---|
| 206 | | - { X86_VENDOR_AMD, 4, 10, }, |
|---|
| 201 | + X86_MATCH_VENDOR_FAM_MODEL(AMD, 4, 10, NULL), |
|---|
| 207 | 202 | {} |
|---|
| 208 | 203 | }; |
|---|
| 209 | 204 | MODULE_DEVICE_TABLE(x86cpu, elan_id); |
|---|