Commit 5f1cda51 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Hans de Goede
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240909124952.1152017-4-andriy.shevchenko@linux.intel.com


Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent c912ac66
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -9,13 +9,14 @@
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/platform_data/intel-mid_wdt.h>

#include <asm/cpu_device_id.h>
#include <asm/intel-family.h>
#include <asm/io_apic.h>
#include <asm/hw_irq.h>

#include <linux/platform_data/x86/intel-mid_wdt.h>

#define TANGIER_EXT_TIMER0_MSI 12

static struct platform_device wdt_dev = {
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
#include <linux/types.h>
#include <linux/watchdog.h>

#include <linux/platform_data/intel-mid_wdt.h>
#include <linux/platform_data/x86/intel-mid_wdt.h>
#include <linux/platform_data/x86/intel_scu_ipc.h>

#define IPC_WATCHDOG 0xf8
+3 −3
Original line number Diff line number Diff line
@@ -6,8 +6,8 @@
 *      Contact: David Cohen <david.a.cohen@linux.intel.com>
 */

#ifndef __INTEL_MID_WDT_H__
#define __INTEL_MID_WDT_H__
#ifndef __PLATFORM_X86_INTEL_MID_WDT_H_
#define __PLATFORM_X86_INTEL_MID_WDT_H_

#include <linux/platform_device.h>

@@ -16,4 +16,4 @@ struct intel_mid_wdt_pdata {
	int (*probe)(struct platform_device *pdev);
};

#endif /*__INTEL_MID_WDT_H__*/
#endif	/* __PLATFORM_X86_INTEL_MID_WDT_H_ */