public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* driver creating directories under a device entry
@ 2009-01-13 23:27 Ben Dooks
  2009-01-13 23:36 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Dooks @ 2009-01-13 23:27 UTC (permalink / raw)
  To: gregkh, linux-kernel

I have a driver which uses sysfs_create_dir() to create a set of
directories under the device sysfs directory to bundle up attributes
that are added common for each sub-part of the device.

Firstly, is this considered a problem

Secondly, sysfs_create_dir() is not exported so the driver cannot
currently be built as a module. Would a patch to export sysfs_create_dir
be acceptable?

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-13 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13 23:27 driver creating directories under a device entry Ben Dooks
2009-01-13 23:36 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox