lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 31 Mar 2009 20:27:53 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Ayman KHAMOUMA <ayman.khamouma@...com>
Cc:	<linux-kernel@...r.kernel.org>
Subject: Re: Sysfs with no struc device ?

On Tue, 31 Mar 2009 18:19:41 +0200
Ayman KHAMOUMA <ayman.khamouma@...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 ..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ