From: Jean Tourrilhes <jt@bougret.hpl.hp.com>
To: Patrick Mochel <mochel@osdl.org>
Cc: Dominik Brodowski <linux@brodo.de>,
torvalds@transmeta.com,
Linux kernel mailing list <linux-kernel@vger.kernel.org>,
mika.penttila@kolumbus.fi
Subject: Re: [PATCH] driver model: fix platform_match [Was: Re: [PATCH] pcmcia: get initialization ordering right [Was: [PATCH 2.5] : i82365 & platform_bus_type]]
Date: Fri, 14 Mar 2003 18:03:09 -0800 [thread overview]
Message-ID: <20030315020309.GA1372@bougret.hpl.hp.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0303051016230.994-100000@localhost.localdomain>
On Wed, Mar 05, 2003 at 10:16:46AM -0600, Patrick Mochel wrote:
>
> > Unfortunately, this won't work: digits are perfectly valid entries of
> > strings. However, we have the name without the appending instance still
> > saved in platform_device pdev->name... so what about this?
>
> D'oh. You're completely right.
>
> Thanks,
>
>
> -pat
Hi,
I tried 2.5.64-bk9, and it doesn't work !
You simply forgot to apply the patch I sent you at the
very beggining of this discussion :
----------------------------------------------------
diff -u -p linux/drivers/base/platform.c.original linux/drivers/base/platform.c
--- linux/drivers/base/platform.c.original Fri Mar 14 17:47:16 2003
+++ linux/drivers/base/platform.c Fri Mar 14 17:47:40 2003
@@ -75,5 +75,6 @@ int __init platform_bus_init(void)
return bus_register(&platform_bus_type);
}
+EXPORT_SYMBOL(platform_bus_type);
EXPORT_SYMBOL(platform_device_register);
EXPORT_SYMBOL(platform_device_unregister);
----------------------------------------------------
On the other hand, with the above patch, now everything is
working properly and my Pcmcia card work wonderfully.
Thanks a lot for the great work, and have fun...
Jean
prev parent reply other threads:[~2003-03-15 1:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-04 8:30 [PATCH] pcmcia: get initialization ordering right [Was: [PATCH 2.5] : i82365 & platform_bus_type] mika.penttila
2003-03-04 9:54 ` Dominik Brodowski
2003-03-04 14:35 ` Patrick Mochel
2003-03-04 17:16 ` Jean Tourrilhes
2003-03-04 17:48 ` Patrick Mochel
2003-03-04 18:54 ` Jean Tourrilhes
2003-03-04 19:47 ` Dominik Brodowski
2003-03-05 6:39 ` [PATCH] driver model: fix platform_match [Was: Re: [PATCH] pcmcia: get initialization ordering right [Was: [PATCH 2.5] : i82365 & platform_bus_type]] Dominik Brodowski
2003-03-05 16:16 ` Patrick Mochel
2003-03-15 2:03 ` Jean Tourrilhes [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030315020309.GA1372@bougret.hpl.hp.com \
--to=jt@bougret.hpl.hp.com \
--cc=jt@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@brodo.de \
--cc=mika.penttila@kolumbus.fi \
--cc=mochel@osdl.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®