diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2024-05-28 13:25:03 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-05-28 22:53:51 +0300 |
commit | edcde848c01eb071a91d479a6b3101d9cf48e905 (patch) | |
tree | 9d1a5d4f902f4c2e4b79dd4c8c8e8a2676ac7528 /drivers/platform/loongarch | |
parent | c7a5096781732e0f9784551309484f3e103f6750 (diff) | |
download | linux-edcde848c01eb071a91d479a6b3101d9cf48e905.tar.xz |
PNP: Hide pnp_bus_type from the non-PNP code
The pnp_bus_type is defined only when CONFIG_PNP=y, while being
not guarded by ifdeffery in the header. Moreover, it's not used
outside of the PNP code. Move it to the internal header to make
sure no-one will try to (ab)use it.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/platform/loongarch')
0 files changed, 0 insertions, 0 deletions