From: Siddharth Choudhuri <siddh_c@yahoo.com>
To: dedekind@infradead.org
Cc: linux-mtd@lists.infradead.org
Subject: Re: [RFC] sysfs support for mtd
Date: Thu, 19 Jul 2007 17:17:36 -0700 (PDT) [thread overview]
Message-ID: <97230.36289.qm@web30206.mail.mud.yahoo.com> (raw)
In-Reply-To: <1184828572.3531.183.camel@sauron>
> > o I am not sure where an additional link from bus
> to
> > mtd should be added in the sysfs hierarchy. Should
> it
> > be /sys/bus/platform/devices ->
> ../../../devices/mtd
> > -OR-
> > /sys/bus/platform/ -> ../../devices/mtd
> No idea, but I've always thought sysfs core
> automatically puts these
> links. All you have to do is to define your bus
> object which is
> "platform" bus, and the stuff will appear. Although
> I am not sure.
>
Thanks for the suggestions. I added a link from
/sys/bus/platform/devices/mtd -> /sys/devices/mtd.
Link can be created in sysfs using a call to
sysfs_create_link() function.
I will send a patch after coding the suggestions and
running a few more tests.
-sid
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
prev parent reply other threads:[~2007-07-20 0:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 18:45 [RFC] sysfs support for mtd Siddharth Choudhuri
2007-07-19 7:02 ` Artem Bityutskiy
2007-07-20 0:17 ` Siddharth Choudhuri [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=97230.36289.qm@web30206.mail.mud.yahoo.com \
--to=siddh_c@yahoo.com \
--cc=dedekind@infradead.org \
--cc=linux-mtd@lists.infradead.org \
/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