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

intel_mid: Renamed *mrst* to *intel_mid*

Following files contains code that is common to all intel mid
soc's. So renamed them as below.

mrst/mrst.c -> intel-mid/intel-mid.c
mrst/vrtc.c -> intel-mid/intel_mid_vrtc.c
mrst/early_printk_mrst.c -> intel-mid/intel_mid_vrtc.c
pci/mrst.c -> pci/intel_mid_pci.c

Also, renamed the corresponding header files and made changes
to the driver files that included these header files.

To ensure that there are no functional changes, I have compared
the objdump of renamed files before and after rename and found
that the only difference is file name change.

Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: http://lkml.kernel.org/r/1382049336-21316-4-git-send-email-david.a.cohen@linux.intel.com
Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>

authored by

Kuppuswamy Sathyanarayanan and committed by
H. Peter Anvin
05454c26 d8059302

+33 -32
+2 -2
arch/x86/include/asm/mrst-vrtc.h arch/x86/include/asm/intel_mid_vrtc.h
··· 1 - #ifndef _MRST_VRTC_H 2 - #define _MRST_VRTC_H 1 + #ifndef _INTEL_MID_VRTC_H 2 + #define _INTEL_MID_VRTC_H 3 3 4 4 extern unsigned char vrtc_cmos_read(unsigned char reg); 5 5 extern void vrtc_cmos_write(unsigned char val, unsigned char reg);
+4 -4
arch/x86/include/asm/mrst.h arch/x86/include/asm/intel-mid.h
··· 1 1 /* 2 - * mrst.h: Intel Moorestown platform specific setup code 2 + * intel-mid.h: Intel MID specific setup code 3 3 * 4 4 * (C) Copyright 2009 Intel Corporation 5 5 * ··· 8 8 * as published by the Free Software Foundation; version 2 9 9 * of the License. 10 10 */ 11 - #ifndef _ASM_X86_MRST_H 12 - #define _ASM_X86_MRST_H 11 + #ifndef _ASM_X86_INTEL_MID_H 12 + #define _ASM_X86_INTEL_MID_H 13 13 14 14 #include <linux/sfi.h> 15 15 ··· 78 78 79 79 extern void mrst_rtc_init(void); 80 80 81 - #endif /* _ASM_X86_MRST_H */ 81 + #endif /* _ASM_X86_INTEL_MID_H */
+1 -1
arch/x86/kernel/apb_timer.c
··· 40 40 41 41 #include <asm/fixmap.h> 42 42 #include <asm/apb_timer.h> 43 - #include <asm/mrst.h> 43 + #include <asm/intel-mid.h> 44 44 #include <asm/time.h> 45 45 46 46 #define APBT_CLOCKEVENT_RATING 110
+1 -1
arch/x86/kernel/early_printk.c
··· 14 14 #include <xen/hvc-console.h> 15 15 #include <asm/pci-direct.h> 16 16 #include <asm/fixmap.h> 17 - #include <asm/mrst.h> 17 + #include <asm/intel-mid.h> 18 18 #include <asm/pgtable.h> 19 19 #include <linux/usb/ehci_def.h> 20 20
+1 -1
arch/x86/kernel/rtc.c
··· 12 12 #include <asm/vsyscall.h> 13 13 #include <asm/x86_init.h> 14 14 #include <asm/time.h> 15 - #include <asm/mrst.h> 15 + #include <asm/intel-mid.h> 16 16 #include <asm/rtc.h> 17 17 18 18 #ifdef CONFIG_X86_32
+1 -1
arch/x86/pci/Makefile
··· 18 18 obj-$(CONFIG_X86_NUMAQ) += numaq_32.o 19 19 obj-$(CONFIG_X86_NUMACHIP) += numachip.o 20 20 21 - obj-$(CONFIG_X86_INTEL_MID) += mrst.o 21 + obj-$(CONFIG_X86_INTEL_MID) += intel_mid_pci.o 22 22 23 23 obj-y += common.o early.o 24 24 obj-y += bus_numa.o
+1 -1
arch/x86/pci/mrst.c arch/x86/pci/intel_mid_pci.c
··· 1 1 /* 2 - * Moorestown PCI support 2 + * Intel MID PCI support 3 3 * Copyright (c) 2008 Intel Corporation 4 4 * Jesse Barnes <jesse.barnes@intel.com> 5 5 *
+1 -1
arch/x86/platform/Makefile
··· 4 4 obj-y += geode/ 5 5 obj-y += goldfish/ 6 6 obj-y += iris/ 7 - obj-y += mrst/ 7 + obj-y += intel-mid/ 8 8 obj-y += olpc/ 9 9 obj-y += scx200/ 10 10 obj-y += sfi/
+3
arch/x86/platform/intel-mid/Makefile
··· 1 + obj-$(CONFIG_X86_INTEL_MID) += intel-mid.o 2 + obj-$(CONFIG_X86_INTEL_MID) += intel_mid_vrtc.o 3 + obj-$(CONFIG_EARLY_PRINTK_INTEL_MID) += early_printk_intel_mid.o
-3
arch/x86/platform/mrst/Makefile
··· 1 - obj-$(CONFIG_X86_INTEL_MID) += mrst.o 2 - obj-$(CONFIG_X86_INTEL_MID) += vrtc.o 3 - obj-$(CONFIG_EARLY_PRINTK_INTEL_MID) += early_printk_mrst.o
+2 -2
arch/x86/platform/mrst/early_printk_mrst.c arch/x86/platform/intel-mid/early_printk_intel_mid.c
··· 1 1 /* 2 - * early_printk_mrst.c - early consoles for Intel MID platforms 2 + * early_printk_intel_mid.c - early consoles for Intel MID platforms 3 3 * 4 4 * Copyright (c) 2008-2010, Intel Corporation 5 5 * ··· 27 27 28 28 #include <asm/fixmap.h> 29 29 #include <asm/pgtable.h> 30 - #include <asm/mrst.h> 30 + #include <asm/intel-mid.h> 31 31 32 32 #define MRST_SPI_TIMEOUT 0x200000 33 33 #define MRST_REGBASE_SPI0 0xff128000
+6 -5
arch/x86/platform/mrst/mrst.c arch/x86/platform/intel-mid/intel-mid.c
··· 1 1 /* 2 - * mrst.c: Intel Moorestown platform specific setup code 2 + * intel-mid.c: Intel MID platform setup code 3 3 * 4 - * (C) Copyright 2008 Intel Corporation 4 + * (C) Copyright 2008, 2012 Intel Corporation 5 5 * Author: Jacob Pan (jacob.jun.pan@intel.com) 6 + * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> 6 7 * 7 8 * This program is free software; you can redistribute it and/or 8 9 * modify it under the terms of the GNU General Public License ··· 37 36 #include <asm/hw_irq.h> 38 37 #include <asm/apic.h> 39 38 #include <asm/io_apic.h> 40 - #include <asm/mrst.h> 41 - #include <asm/mrst-vrtc.h> 39 + #include <asm/intel-mid.h> 40 + #include <asm/intel_mid_vrtc.h> 42 41 #include <asm/io.h> 43 42 #include <asm/i8259.h> 44 43 #include <asm/intel_scu_ipc.h> ··· 220 219 lapic_timer_frequency = fsb * 1000 / HZ; 221 220 /* mark tsc clocksource as reliable */ 222 221 set_cpu_cap(&boot_cpu_data, X86_FEATURE_TSC_RELIABLE); 223 - 222 + 224 223 if (fast_calibrate) 225 224 return fast_calibrate; 226 225
+3 -3
arch/x86/platform/mrst/vrtc.c arch/x86/platform/intel-mid/intel_mid_vrtc.c
··· 1 1 /* 2 - * vrtc.c: Driver for virtual RTC device on Intel MID platform 2 + * intel_mid_vrtc.c: Driver for virtual RTC device on Intel MID platform 3 3 * 4 4 * (C) Copyright 2009 Intel Corporation 5 5 * ··· 23 23 #include <linux/sfi.h> 24 24 #include <linux/platform_device.h> 25 25 26 - #include <asm/mrst.h> 27 - #include <asm/mrst-vrtc.h> 26 + #include <asm/intel-mid.h> 27 + #include <asm/intel_mid_vrtc.h> 28 28 #include <asm/time.h> 29 29 #include <asm/fixmap.h> 30 30
+1 -1
drivers/gpu/drm/gma500/mdfld_dsi_output.h
··· 39 39 #include "psb_intel_reg.h" 40 40 #include "mdfld_output.h" 41 41 42 - #include <asm/mrst.h> 42 + #include <asm/intel-mid.h> 43 43 44 44 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) 45 45 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end))
+1 -1
drivers/gpu/drm/gma500/oaktrail_device.c
··· 26 26 #include "psb_drv.h" 27 27 #include "psb_reg.h" 28 28 #include "psb_intel_reg.h" 29 - #include <asm/mrst.h> 29 + #include <asm/intel-mid.h> 30 30 #include <asm/intel_scu_ipc.h> 31 31 #include "mid_bios.h" 32 32 #include "intel_bios.h"
+1 -1
drivers/gpu/drm/gma500/oaktrail_lvds.c
··· 22 22 23 23 #include <linux/i2c.h> 24 24 #include <drm/drmP.h> 25 - #include <asm/mrst.h> 25 + #include <asm/intel-mid.h> 26 26 27 27 #include "intel_bios.h" 28 28 #include "psb_drv.h"
+1 -1
drivers/platform/x86/intel_scu_ipc.c
··· 25 25 #include <linux/interrupt.h> 26 26 #include <linux/sfi.h> 27 27 #include <linux/module.h> 28 - #include <asm/mrst.h> 28 + #include <asm/intel-mid.h> 29 29 #include <asm/intel_scu_ipc.h> 30 30 31 31 /* IPC defines the following message types */
+2 -2
drivers/rtc/rtc-mrst.c
··· 38 38 39 39 #include <asm-generic/rtc.h> 40 40 #include <asm/intel_scu_ipc.h> 41 - #include <asm/mrst.h> 42 - #include <asm/mrst-vrtc.h> 41 + #include <asm/intel-mid.h> 42 + #include <asm/intel_mid_vrtc.h> 43 43 44 44 struct mrst_rtc { 45 45 struct rtc_device *rtc;
+1 -1
drivers/watchdog/intel_scu_watchdog.c
··· 48 48 #include <linux/atomic.h> 49 49 #include <asm/intel_scu_ipc.h> 50 50 #include <asm/apb_timer.h> 51 - #include <asm/mrst.h> 51 + #include <asm/intel-mid.h> 52 52 53 53 #include "intel_scu_watchdog.h" 54 54