linux-next: manual merge of the driver-core tree with the pm tree

Mark Brown <[email protected]>
Newsgroups org.kernel.vger.linux-next,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Hi all,

Today's linux-next merge of the driver-core tree got a conflict in:

  include/acpi/acpi_bus.h

between commit:

  72530e1f72b05 ("ACPI: bus: Introduce acpi_bus_get_primary_device()")

from the pm tree and commit:

  2c5d17cdc4e97 ("rust: driver: remove open-coded matching logic")

from the driver-core tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

diff --cc include/acpi/acpi_bus.h
index eaf13f6ac2d3a,7e57f9698f7ce..0000000000000
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@@ -953,18 -996,6 +949,11 @@@ int acpi_scan_add_dep(acpi_handle handl
  u32 arch_acpi_add_auto_dep(acpi_handle handle);
  #else	/* CONFIG_ACPI */
  
 +static inline struct device *acpi_bus_get_primary_device(struct acpi_device *adev)
 +{
 +	return NULL;
 +}
 +
- static inline bool acpi_of_match_device(const struct acpi_device *adev,
- 					const struct of_device_id *of_match_table,
- 					const struct of_device_id **of_id)
- {
- 	return false;
- }
- 
  static inline int register_acpi_bus_type(void *bus) { return 0; }
  static inline int unregister_acpi_bus_type(void *bus) { return 0; }
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmqDL0cACgkQJNaLcl1U
h9Ds2Af5Abg6GvVD6vCh7Xe2jdsIKLcAPsG39yGUNuC5sngAxYLs1YHZZSTkHq5h
vGgCGE+/pbWzlUxj+AkwtwqRX5x7AuHzOcY3nISR0DQGPB2injHF7f/TTDjq9Z2V
BG/4GsjWQIkKRFxrYRRAKLz/fRd4rDOmMb0OAjp55U+mbGgwo9m3KmkZHf7UOili
SHiECve7odhkIhvsHgpd4GquWtL8frV3bSWtlnO9ExaqoR9z2wuOGd55XlPwqPvp
GyRyiYCTthJatcnjhZC8lm3HwA1UvRjpYAEBGBbCAjBz/zbcbSN6RFc8scfp5iOd
V3KlDfSNd3WztaIf8IJcUxHgqCHncg==
=qKOF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.