[PATCH] ARM: OMAP: move old debug-devices.c and debug-leds.c to be OMAP2+ only for now
Paul Walmsley
paul at pwsan.com
Tue Oct 9 16:11:20 EDT 2012
On Mon, 8 Oct 2012, Tony Lindgren wrote:
> Hmm are you sure that omap1 is not using debug-leds.c?
> At least the initcall seems like it should run on omap1
> if enabled.
You're right, it's probably able to run on OMAP1. Looks like I got
confused by the bogus Kconfig dependency from OMAP_DEBUG_LEDS ->
OMAP_DEBUG_DEVICES, since debug_card_init() is only called from the H4
board init.
> The sideways include here is OK, it does not get exposed to
> the drivers, it seems that plat-omap is still the right location
> for at least debug-leds.c code.
OK if you want to leave it there, it's fine with me. Looks like it
should go into drivers/ at some point though?
Will send a patch to do the sideways include to fix the sparse warning.
- Paul
More information about the linux-arm-kernel
mailing list