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.
Unified · Split
| @@ -9,13 +9,14 @@ · 8 unmodified lines | |||
| 9 | #include <linux/init.h> | 9 | #include <linux/init.h> |
| 10 | #include <linux/interrupt.h> | 10 | #include <linux/interrupt.h> |
| 11 | #include <linux/platform_device.h> | 11 | #include <linux/platform_device.h> |
| 12 | #include <linux/platform_data/intel-mid_wdt.h> | ||
| 13 | 12 | ||
| 14 | #include <asm/cpu_device_id.h> | 13 | #include <asm/cpu_device_id.h> |
| 15 | #include <asm/intel-family.h> | 14 | #include <asm/intel-family.h> |
| 16 | #include <asm/io_apic.h> | 15 | #include <asm/io_apic.h> |
| 17 | #include <asm/hw_irq.h> | 16 | #include <asm/hw_irq.h> |
| 18 | 17 | ||
| 18 | #include <linux/platform_data/x86/intel-mid_wdt.h> | ||
| 19 | |||
| 19 | #define TANGIER_EXT_TIMER0_MSI 12 | 20 | #define TANGIER_EXT_TIMER0_MSI 12 |
| 20 | 21 | ||
| 21 | static struct platform_device wdt_dev = { | 22 | static struct platform_device wdt_dev = { |
| @@ -20,7 +20,7 @@ · 19 unmodified lines | |||
| 20 | #include <linux/types.h> | 20 | #include <linux/types.h> |
| 21 | #include <linux/watchdog.h> | 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 | #include <linux/platform_data/x86/intel_scu_ipc.h> | 24 | #include <linux/platform_data/x86/intel_scu_ipc.h> |
| 25 | 25 | ||
| 26 | #define IPC_WATCHDOG 0xf8 | 26 | #define IPC_WATCHDOG 0xf8 |
| @@ -6,8 +6,8 @@ · 5 unmodified lines | |||
| 6 | * Contact: David Cohen <david.a.cohen@linux.intel.com> | 6 | * Contact: David Cohen <david.a.cohen@linux.intel.com> |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #ifndef __INTEL_MID_WDT_H__ | 9 | #ifndef __PLATFORM_X86_INTEL_MID_WDT_H_ |
| 10 | #define __INTEL_MID_WDT_H__ | 10 | #define __PLATFORM_X86_INTEL_MID_WDT_H_ |
| 11 | 11 | ||
| 12 | #include <linux/platform_device.h> | 12 | #include <linux/platform_device.h> |
| 13 | 13 | ||
| @@ -16,4 +16,4 @@ struct intel_mid_wdt_pdata { · 2 unmodified lines | |||
| 16 | int (*probe)(struct platform_device *pdev); | 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_ */ |