diff options
author | 2023-02-06 16:52:38 +0200 | |
---|---|---|
committer | 2023-02-10 17:15:18 +0100 | |
commit | 67c7debbfc3b1ccfe18e10b7e7663737f7dff0e3 (patch) | |
tree | f40bb489acc4aab9ae67f44fc2884d42685a42d5 /drivers/platform/x86/mlx-platform.c | |
parent | platform/x86: int3472/discrete: add LEDS_CLASS dependency (diff) | |
download | linux-rng-67c7debbfc3b1ccfe18e10b7e7663737f7dff0e3.tar.xz linux-rng-67c7debbfc3b1ccfe18e10b7e7663737f7dff0e3.zip |
platform/x86: Fix header inclusion in linux/platform_data/x86/soc.h
First of all, we don't use intel-family.h directly. On the other hand
we actively use boolean type, that is defined in the types.h (we take
top-level header for that) and x86_cpu_id, that is provided in the
mod_devicetable.h.
Secondly, we don't need to spread SOC_INTEL_IS_CPU() macro to the users.
Hence, undefine it when it's appropriate.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230206145238.19460-1-andriy.shevchenko@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/mlx-platform.c')
0 files changed, 0 insertions, 0 deletions