lkml.org 
[lkml]   [2003]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.5.61] pcmcia: add device_class pcmcia_socket, update devices & drivers
On Sat, Feb 15, 2003 at 01:33:09PM +0100, Dominik Brodowski wrote:
> A new device_class "pcmcia_socket_class" is introduced for PCMCIA and
> CardBus sockets. All socket drivers I could find are updated so that they
> register a driver, and -if necessary- the "platform"/legacy device. This
> will allow for a cleanup of pcmcia_{un}register_socket() /
> {un}register_ss_entry() as well as reflect the parent for pcmcia_bus
> devices.
> +
> +static struct platform_device sa1100_pcmcia_device = {
> + .name = "sa1100_pcmcia",
> + .id = 0,
> + .dev = {
> + .name = "sa1100_pcmcia",
> + },
> +};
> +

This probably isn't the best way to handle this - the sa1100 device driver
is actually a generic driver to couple to GPIO-based PCMCIA implementations,
which includes the sa1111 stuff. The sa1111 stuff itself registers with
sysfs.

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.036 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site