Files
erofs-linux/include/net/nfc
Ricardo B. Marliere e556001169 nfc: core: make nfc_class constant
Since commit 43a7206b09 ("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 nfc_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time.

Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2024-03-05 11:21:18 -08:00
..
2021-07-25 09:21:21 +01:00
2021-07-25 09:21:21 +01:00
…
…
2024-03-05 11:21:18 -08:00