Andy Shevchenko 19ebe0679c PNP: Hide pnp_bus_type from the non-PNP code
[ Upstream commit edcde848c01eb071a91d479a6b3101d9cf48e905 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-25 09:53:20 +02:00
..
2023-12-06 21:02:27 +01:00
2021-07-05 13:42:16 -07:00
2024-01-09 15:00:09 +01:00
2021-05-17 16:54:01 +02:00