aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-bridge-test.c
diff options
context:
space:
mode:
authorRicardo B. Marliere <[email protected]>2024-03-05 19:35:38 +0000
committerRichard Weinberger <[email protected]>2024-07-12 17:45:09 +0000
commit299af26eb46374295a3289be990e536b75c9376a (patch)
treee253939a33617c37bbe7f9ef742cca1c6160a199 /drivers/fpga/tests/fpga-bridge-test.c
parentubi: eba: properly rollback inside self_check_eba (diff)
downloadkernel-299af26eb46374295a3289be990e536b75c9376a.tar.gz
kernel-299af26eb46374295a3289be990e536b75c9376a.zip
mtd: ubi: make ubi_class constant
Since commit 43a7206b0963 ("driver core: class: make class_register() take a const *"), the driver core allows for struct class to be in read-only memory, so move the ubi_class structure to be declared at build time placing it into read-only memory, instead of having to be dynamically allocated at boot time. Cc: Greg Kroah-Hartman <[email protected]> Suggested-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Ricardo B. Marliere <[email protected]> Reviewed-by: Zhihao Cheng <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions