| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * (C) 2001-2004 Dave Jones. |
|---|
| 3 | 4 | * (C) 2002 Padraig Brady. <padraig@antefacto.com> |
|---|
| 4 | 5 | * |
|---|
| 5 | | - * Licensed under the terms of the GNU GPL License version 2. |
|---|
| 6 | 6 | * Based upon datasheets & sample CPUs kindly provided by VIA. |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | * VIA have currently 3 different versions of Longhaul. |
|---|
| .. | .. |
|---|
| 593 | 593 | break; |
|---|
| 594 | 594 | default: |
|---|
| 595 | 595 | return; |
|---|
| 596 | | - break; |
|---|
| 597 | 596 | } |
|---|
| 598 | 597 | if (min_vid_speed >= highest_speed) |
|---|
| 599 | 598 | return; |
|---|
| .. | .. |
|---|
| 851 | 850 | case TYPE_POWERSAVER: |
|---|
| 852 | 851 | pr_cont("Powersaver supported\n"); |
|---|
| 853 | 852 | break; |
|---|
| 854 | | - }; |
|---|
| 853 | + } |
|---|
| 855 | 854 | |
|---|
| 856 | 855 | /* Doesn't hurt */ |
|---|
| 857 | 856 | longhaul_setup_southbridge(); |
|---|
| .. | .. |
|---|
| 910 | 909 | }; |
|---|
| 911 | 910 | |
|---|
| 912 | 911 | static const struct x86_cpu_id longhaul_id[] = { |
|---|
| 913 | | - { X86_VENDOR_CENTAUR, 6 }, |
|---|
| 912 | + X86_MATCH_VENDOR_FAM(CENTAUR, 6, NULL), |
|---|
| 914 | 913 | {} |
|---|
| 915 | 914 | }; |
|---|
| 916 | 915 | MODULE_DEVICE_TABLE(x86cpu, longhaul_id); |
|---|