Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: intel_scu_wdt: Move intel_scu_wdt.h to x86 subfolder

This is a platform/x86 library that can only be used on x86 devices.
so it makes sense that it lives under the platform_data/x86/ directory
instead.

No functional changes intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240909124952.1152017-4-andriy.shevchenko@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Andy Shevchenko and committed by
Hans de Goede
5f1cda51 c912ac66

+6 -5
+2 -1
drivers/platform/x86/intel_scu_wdt.c
··· 9 9 #include <linux/init.h> 10 10 #include <linux/interrupt.h> 11 11 #include <linux/platform_device.h> 12 - #include <linux/platform_data/intel-mid_wdt.h> 13 12 14 13 #include <asm/cpu_device_id.h> 15 14 #include <asm/intel-family.h> 16 15 #include <asm/io_apic.h> 17 16 #include <asm/hw_irq.h> 17 + 18 + #include <linux/platform_data/x86/intel-mid_wdt.h> 18 19 19 20 #define TANGIER_EXT_TIMER0_MSI 12 20 21
+1 -1
drivers/watchdog/intel-mid_wdt.c
··· 20 20 #include <linux/types.h> 21 21 #include <linux/watchdog.h> 22 22 23 - #include <linux/platform_data/intel-mid_wdt.h> 23 + #include <linux/platform_data/x86/intel-mid_wdt.h> 24 24 #include <linux/platform_data/x86/intel_scu_ipc.h> 25 25 26 26 #define IPC_WATCHDOG 0xf8
+3 -3
include/linux/platform_data/intel-mid_wdt.h include/linux/platform_data/x86/intel-mid_wdt.h
··· 6 6 * Contact: David Cohen <david.a.cohen@linux.intel.com> 7 7 */ 8 8 9 - #ifndef __INTEL_MID_WDT_H__ 10 - #define __INTEL_MID_WDT_H__ 9 + #ifndef __PLATFORM_X86_INTEL_MID_WDT_H_ 10 + #define __PLATFORM_X86_INTEL_MID_WDT_H_ 11 11 12 12 #include <linux/platform_device.h> 13 13 ··· 16 16 int (*probe)(struct platform_device *pdev); 17 17 }; 18 18 19 - #endif /*__INTEL_MID_WDT_H__*/ 19 + #endif /* __PLATFORM_X86_INTEL_MID_WDT_H_ */