aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/base/module.c
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 /drivers/base/module.c
parentpowerpc: Force inlining of arch_vmap_p{u/m}d_supported() (diff)
downloadwireguard-linux-e15d01277a8bdacf8ac485049d21d450153fa47e.tar.xz
wireguard-linux-e15d01277a8bdacf8ac485049d21d450153fa47e.zip
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 'drivers/base/module.c')
0 files changed, 0 insertions, 0 deletions