mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Ayman KHAMOUMA <ayman.khamouma@st.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Sysfs with no struc device ?
Date: Tue, 31 Mar 2009 20:27:53 +0100	[thread overview]
Message-ID: <20090331202753.4e4fc532@the-village.bc.nu> (raw)
In-Reply-To: <000201c9b21c$7f636aa0$663f81a4@par.st.com>

On Tue, 31 Mar 2009 18:19:41 +0200
Ayman KHAMOUMA <ayman.khamouma@st.com> wrote:

> Hi everybody,
> 
> I'm trying to write a module which is supposed to write the state of a pin in a sysfs file.
> As it is neither a char device nor a block device, or anything else, I suposed taht I don't need any struct device...I mau be mistaking...
> So my question is:
> How can I create this file in sysfs without any struct device ?

Wrong question I think - if its a platform device then create a
platform_device for it ..

  reply	other threads:[~2009-03-31 19:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-31 16:19 Ayman KHAMOUMA
2009-03-31 19:27 ` Alan Cox [this message]
     [not found] <clPat-8uW-5@gated-at.bofh.it>
2009-03-31 19:24 ` Bodo Eggert

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=20090331202753.4e4fc532@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=ayman.khamouma@st.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®