summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorRicardo B. Marliere <ricardo@marliere.net>2024-02-12 17:04:59 -0300
committerMichael Ellerman <mpe@ellerman.id.au>2024-02-15 00:14:05 +1100
commite15d01277a8bdacf8ac485049d21d450153fa47e (patch)
treebf4fc6e459fdcf26b03a09333571e98593ac4452 /scripts/generate_rust_analyzer.py
parentc5aebb53b32460bc52680dd4e2a2f6b84d5ea521 (diff)
powerpc: vio: move device attributes into a new ifdef
In order to make the distinction of the vio_bus_type variable based on CONFIG_PPC_SMLPAR more explicit, move the required structs into a new ifdef block. This is needed in order to make vio_bus_type const and because the distinction is made explicit, there is no need to set the fields within the vio_cmo_sysfs_init function. Signed-off-by: "Ricardo B. Marliere" <ricardo@marliere.net> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240212-bus_cleanup-powerpc2-v2-1-8441b3f77827@marliere.net
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions