Files
kernel_google_b1c1/include/linux
Dmitry Torokhov e94965ed5b module: show version information for built-in modules in sysfs
Currently only drivers that are built as modules have their versions
shown in /sys/module/<module_name>/version, but this information might
also be useful for built-in drivers as well. This especially important
for drivers that do not define any parameters - such drivers, if
built-in, are completely invisible from userspace.

This patch changes MODULE_VERSION() macro so that in case when we are
compiling built-in module, version information is stored in a separate
section. Kernel then uses this data to create 'version' sysfs attribute
in the same fashion it creates attributes for module parameters.

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-01-24 14:32:51 +10:30
..
2011-01-20 18:30:17 -08:00
2011-01-20 18:30:17 -08:00
2011-01-15 20:07:45 -05:00
2011-01-13 08:03:12 -08:00
2011-01-17 03:26:26 -05:00
2011-01-21 11:55:31 +01:00
2011-01-13 17:32:31 -08:00
2011-01-13 17:32:47 -08:00
2011-01-14 13:12:45 +00:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:46 -08:00
2011-01-13 17:32:43 -08:00
2011-01-16 13:47:07 -05:00
2011-01-13 21:44:34 -08:00
2011-01-13 17:32:43 -08:00
2011-01-16 13:47:07 -05:00
2011-01-13 08:03:21 -08:00
2011-01-14 02:36:43 +00:00
2011-01-13 08:03:18 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:43 -08:00
2011-01-13 08:03:19 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 08:03:20 -08:00
2011-01-13 08:03:24 -08:00