Re: [PATCH] [2.6] Clean up SL811 headers

From: Russell King
Date: Thu Jan 06 2005 - 04:14:34 EST


On Wed, Jan 05, 2005 at 08:30:25PM -0500, Kyle Moffett wrote:
> The USB SL811 host has a structure stuck in linux/usb_sl811.h As this
> structure is kernel private and only used by a single piece of code,
> this
> patch moves it to the header file from which it is used, deleting the
> old one.
>
> Signed-off-by: Kyle Moffett <mrmacman_g4@xxxxxxx>

No. It's platform data. That means that platforms, (eg, arch/arm/mach-pxa)
are expected to supply it to the SL811 driver.

linux/usb_sl811.h is the correct location for it. The platforms which
use it are not merged just yet, but the SL811 driver is a recent merge
in preparation of this happening.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/