diff options
| author | Ivan Orlov <[email protected]> | 2023-06-20 14:41:38 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-06-23 08:29:02 +0000 |
| commit | 3b7a628decfb3b385ca5169d7c415752bf40e536 (patch) | |
| tree | a13ffcbfb79341209d2ee36f53486f54cb2e5579 /drivers/base/node.c | |
| parent | char: xillybus: make xillybus_class a static const structure (diff) | |
| download | kernel-3b7a628decfb3b385ca5169d7c415752bf40e536.tar.gz kernel-3b7a628decfb3b385ca5169d7c415752bf40e536.zip | |
comedi: make all 'class' structures const
Now that the driver core allows for struct class to be in read-only
memory, making all 'class' structures to be declared at build time
placing them into read-only memory, instead of having to be dynamically
allocated at load time.
Cc: Ian Abbott <[email protected]>
Cc: H Hartley Sweeten <[email protected]>
Cc: Benjamin Tissoires <[email protected]>
Cc: Ivan Orlov <[email protected]>
Cc: Xuezhi Zhang <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ivan Orlov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/node.c')
0 files changed, 0 insertions, 0 deletions
