.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * Bluetooth platform data initialization file |
---|
3 | 4 | * |
---|
4 | 5 | * (C) Copyright 2017 Intel Corporation |
---|
5 | 6 | * Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or |
---|
8 | | - * modify it under the terms of the GNU General Public License |
---|
9 | | - * as published by the Free Software Foundation; version 2 |
---|
10 | | - * of the License. |
---|
11 | 7 | */ |
---|
12 | 8 | |
---|
13 | 9 | #include <linux/gpio/machine.h> |
---|
.. | .. |
---|
64 | 60 | .setup = tng_bt_sfi_setup, |
---|
65 | 61 | }; |
---|
66 | 62 | |
---|
67 | | -#define ICPU(model, ddata) \ |
---|
68 | | - { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (kernel_ulong_t)&ddata } |
---|
69 | | - |
---|
70 | 63 | static const struct x86_cpu_id bt_sfi_cpu_ids[] = { |
---|
71 | | - ICPU(INTEL_FAM6_ATOM_SILVERMONT_MID, tng_bt_sfi_data), |
---|
| 64 | + X86_MATCH_INTEL_FAM6_MODEL(ATOM_SILVERMONT_MID, &tng_bt_sfi_data), |
---|
72 | 65 | {} |
---|
73 | 66 | }; |
---|
74 | 67 | |
---|