From 3479253dad2ac9d1c71f4843aae52ea7cd0c7716 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 25 Mar 2015 12:21:54 -0600 Subject: dm: core: Convert driver_bind() to use const The driver is not modified by driver model, so update driver_bind() to recognise that. Signed-off-by: Simon Glass Reviewed-by: Marek Vasut --- include/dm/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/dm/device.h') diff --git a/include/dm/device.h b/include/dm/device.h index f27b34b..fafecce 100644 --- a/include/dm/device.h +++ b/include/dm/device.h @@ -70,7 +70,7 @@ struct driver_info; * when the device is probed and will be unique within the device's uclass. */ struct udevice { - struct driver *driver; + const struct driver *driver; const char *name; void *platdata; void *parent_platdata; -- cgit v1.1