diff options
author | 2017-09-13 11:28:19 -0700 | |
---|---|---|
committer | 2017-09-13 11:28:19 -0700 | |
commit | 4791bcccf8ce02c2bf6f9dfbc328a3a46d9e9569 (patch) | |
tree | 5224a477d2c8b81acf6798f719cf302de71a9c96 /include/linux | |
parent | Fix up MAINTAINERS file sorting (diff) | |
parent | module: Remove const attribute from alias for MODULE_DEVICE_TABLE (diff) | |
download | linux-4791bcccf8ce02c2bf6f9dfbc328a3a46d9e9569.tar.gz linux-4791bcccf8ce02c2bf6f9dfbc328a3a46d9e9569.tar.bz2 linux-4791bcccf8ce02c2bf6f9dfbc328a3a46d9e9569.zip |
Merge tag 'modules-for-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
Pull modules updates from Jessica Yu:
"Summary of modules changes for the 4.14 merge window:
- minor code cleanups and fixes
- modpost: avoid building modules that have names that exceed the
size of the name field in struct module"
* tag 'modules-for-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
module: Remove const attribute from alias for MODULE_DEVICE_TABLE
module: fix ddebug_remove_module()
modpost: abort if module name is too long
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index e7bdd549e527..fe5aa3736707 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -209,7 +209,7 @@ extern void cleanup_module(void); #ifdef MODULE /* Creates an alias so file2alias.c can find device table. */ #define MODULE_DEVICE_TABLE(type, name) \ -extern const typeof(name) __mod_##type##__##name##_device_table \ +extern typeof(name) __mod_##type##__##name##_device_table \ __attribute__ ((unused, alias(__stringify(name)))) #else /* !MODULE */ #define MODULE_DEVICE_TABLE(type, name) |