Driver core: show "initstate" of module
commit1f71740ab9714bf5ae9ee04c724ff0d5c67ca3dc
authorKay Sievers <kay.sievers@vrfy.org>
Fri, 24 Nov 2006 11:15:25 +0000 (24 12:15 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Dec 2006 23:38:45 +0000 (13 15:38 -0800)
tree0573d4f21472e7eb3509f71f74dfc8443a415db4
parentaef6fba4f97bbec1dc5a253f388be9a4c7a30e41
Driver core: show "initstate" of module

Show the initialization state(live, coming, going) of the module:
  $ cat /sys/module/usbcore/initstate
  live

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/module.c