2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-19 16:14:13 +08:00
linux-next/arch/arm/mach-sa1100
Russell King 1937f5b918 ARM: fix sa1100 build
Fix:

arch/arm/mach-sa1100/generic.c:117: error: redefinition of 'cpufreq_get'
include/linux/cpufreq.h:299: error: previous definition of 'cpufreq_get' was here

cpufreq_get() is used on these platforms to tell drivers what the CPU
frequency is, and therefore the bus frequency - which is critical for
setting the PCMCIA and LCD timings.  Adding ifdefs to these drivers to
select cpufreq_get() or some other interface adds confusion.  Making
these drivers use some other interface for the normal paths and cpufreq
stuff for the cpufreq notifier is insane as well.

(Why x86 can't provide a version of cpufreq_get() which returns the
CPU frequency when CPUFREQ is disabled is beyond me, rather than
requiring a dummy zero-returning cpufreq_get().  Especially as they
do:

			unsigned long khz = cpufreq_get(cpu);
			if (!khz)
				khz = tsc_khz;

In other words, if CPUFREQ is disabled, get it from tsc_khz - why
not provide a dummy cpufreq_get() which returns tsc_khz?)

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-12-13 19:38:08 +00:00
..
include/mach Merge branch 'for-lak' of git://git.linuxtogo.org/home/thesing/collie into sa1100 2009-12-06 16:53:12 +00:00
assabet.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
badge4.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
cerf.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
clock.c [ARM] sa1100: match clock by dev_name(dev) 2008-11-27 12:38:24 +00:00
collie.c Merge branch 'for-lak' of git://git.linuxtogo.org/home/thesing/collie into sa1100 2009-12-06 16:53:12 +00:00
cpu-sa1100.c [ARM] 5336/1: Formatting/Whitespace cleanups in mach-sa1100 2008-12-01 17:22:45 +00:00
cpu-sa1110.c [ARM] 5336/1: Formatting/Whitespace cleanups in mach-sa1100 2008-12-01 17:22:45 +00:00
dma.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
generic.c ARM: fix sa1100 build 2009-12-13 19:38:08 +00:00
generic.h ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
gpio.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
h3xxx.c ARM: 5827/1: SA1100: h3100/h3600: emit messages on failed gpio_request 2009-12-06 16:52:58 +00:00
h3100.c ARM: 5827/1: SA1100: h3100/h3600: emit messages on failed gpio_request 2009-12-06 16:52:58 +00:00
h3600.c ARM: 5827/1: SA1100: h3100/h3600: emit messages on failed gpio_request 2009-12-06 16:52:58 +00:00
hackkit.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
irq.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
jornada720_ssp.c trivial: fix ETIMEOUT -> ETIMEDOUT typos 2009-06-12 18:01:50 +02:00
jornada720.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
Kconfig ARM: fix sa1100 build 2009-12-13 19:38:08 +00:00
lart.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
leds-assabet.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-badge4.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-cerf.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-hackkit.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-lart.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-simpad.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
leds.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile ARM: 5820/1: SA1100: h3100/h3600: split h3600.c 2009-12-06 16:52:56 +00:00
Makefile.boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
neponset.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
pleb.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
pm.c Nicolas Pitre has a new email address 2009-09-15 09:37:12 -07:00
shannon.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
simpad.c ARM: sa11x0: convert set_xxx_data() to register_xxx() 2009-12-06 16:52:23 +00:00
sleep.S [ARM] 5336/1: Formatting/Whitespace cleanups in mach-sa1100 2008-12-01 17:22:45 +00:00
ssp.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
time.c ARM: Fix SA11x0 clocksource warning 2009-09-28 18:06:19 +01:00