Hi all, Today's linux-next merge of the driver-core tree got a conflict in: include/linux/device.h between commit: 7d34ca385484 ("driver core: Add device_is_dependent() to linux/device.h") from the devicetree tree and commit: 67dd07723969 ("device: remove 'extern' attribute from function prototypes in device.h") 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. -- Cheers, Stephen Rothwell diff --cc include/linux/device.h index b5ac86e356d9,9a62f7f43d55..000000000000 --- a/include/linux/device.h +++ b/include/linux/device.h @@@ -814,27 -808,25 +813,26 @@@ static inline bool dev_has_sync_state(s /* * High level routines for use by the bus drivers */ - extern int __must_check device_register(struct device *dev); - extern void device_unregister(struct device *dev); - extern void device_initialize(struct device *dev); - extern int __must_check device_add(struct device *dev); - extern void device_del(struct device *dev); - extern int device_for_each_child(struct device *dev, void *data, - int (*fn)(struct device *dev, void *data)); - extern int device_for_each_child_reverse(struct device *dev, void *data, - int (*fn)(struct device *dev, void *data)); - extern struct device *device_find_child(struct device *dev, void *data, - int (*match)(struct device *dev, void *data)); - extern struct device *device_find_child_by_name(struct device *parent, - const char *name); - extern int device_rename(struct device *dev, const char *new_name); - extern int device_move(struct device *dev, struct device *new_parent, - enum dpm_order dpm_order); - extern int device_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid); - extern const char *device_get_devnode(struct device *dev, - umode_t *mode, kuid_t *uid, kgid_t *gid, - const char **tmp); - extern int device_is_dependent(struct device *dev, void *target); + int __must_check device_register(struct device *dev); + void device_unregister(struct device *dev); + void device_initialize(struct device *dev); + int __must_check device_add(struct device *dev); + void device_del(struct device *dev); + int device_for_each_child(struct device *dev, void *data, + int (*fn)(struct device *dev, void *data)); + int device_for_each_child_reverse(struct device *dev, void *data, + int (*fn)(struct device *dev, void *data)); + struct device *device_find_child(struct device *dev, void *data, + int (*match)(struct device *dev, void *data)); + struct device *device_find_child_by_name(struct device *parent, + const char *name); + int device_rename(struct device *dev, const char *new_name); + int device_move(struct device *dev, struct device *new_parent, + enum dpm_order dpm_order); + int device_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid); + const char *device_get_devnode(struct device *dev, umode_t *mode, kuid_t *uid, + kgid_t *gid, const char **tmp); ++int device_is_dependent(struct device *dev, void *target); static inline bool device_supports_offline(struct device *dev) {
Attachment:
pgpvhm4JS6KZf.pgp
Description: OpenPGP digital signature