aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-05-28 13:25:02 +0300
committerRafael J. Wysocki <[email protected]>2024-05-28 21:53:51 +0200
commitc7a5096781732e0f9784551309484f3e103f6750 (patch)
tree62db4d77135e3fee9d9acc944efc5914fe71524f /scripts/generate_rust_analyzer.py
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
PNP: Make dev_is_pnp() to be a function and export it for modules
Since we have a dev_is_pnp() macro that utilises the address of the pnp_bus_type variable, the users, which can be compiled as modules, will fail to build. Convert the macro to be a function and export it to the modules to prevent build breakage. Reported-by: Woody Suwalski <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Fixes: 2a49b45cd0e7 ("PNP: Add dev_is_pnp() macro") Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions