diff options
-rw-r--r-- | drivers/base/core.c | 4 | ||||
-rw-r--r-- | include/linux/device.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index b8b2f6105476..020ea7f05520 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -172,7 +172,7 @@ static int device_reorder_to_tail(struct device *dev, void *not_used) * * The supplier device is required to be registered when this function is called * and NULL will be returned if that is not the case. The consumer device need - * not be registerd, however. + * not be registered, however. */ struct device_link *device_link_add(struct device *consumer, struct device *supplier, u32 flags) @@ -225,7 +225,7 @@ struct device_link *device_link_add(struct device *consumer, INIT_LIST_HEAD(&link->c_node); link->flags = flags; - /* Deterine the initial link state. */ + /* Determine the initial link state. */ if (flags & DL_FLAG_STATELESS) { link->status = DL_STATE_NONE; } else { diff --git a/include/linux/device.h b/include/linux/device.h index 4cd8e52033b0..67bbbee8fe02 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -817,6 +817,7 @@ struct dev_links_info { * on. This shrinks the "Board Support Packages" (BSPs) and * minimizes board-specific #ifdefs in drivers. * @driver_data: Private pointer for driver specific info. + * @links: Links to suppliers and consumers of this device. * @power: For device power management. * See Documentation/power/devices.txt for details. * @pm_domain: Provide callbacks that are executed during system suspend, |