summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/sandbox.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-06-11 23:29:45 -0600
committerSimon Glass <sjg@chromium.org>2014-06-20 11:55:18 -0600
commitae7f4513087e7f7996cebc9db642917dde9ea561 (patch)
treeadea348bafc0fdb98c684d32b943637515e4843a /drivers/gpio/sandbox.c
parent5957ac2a9f668370bfcd9e5520de4bde346878a4 (diff)
downloadtalos-obmc-uboot-ae7f4513087e7f7996cebc9db642917dde9ea561.tar.gz
talos-obmc-uboot-ae7f4513087e7f7996cebc9db642917dde9ea561.zip
dm: Rename struct device_id to udevice_id
It is best to avoid having any occurence of 'struct device' in driver model, so rename to achieve this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio/sandbox.c')
-rw-r--r--drivers/gpio/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/sandbox.c b/drivers/gpio/sandbox.c
index 09cebe2286..75ada5d387 100644
--- a/drivers/gpio/sandbox.c
+++ b/drivers/gpio/sandbox.c
@@ -239,7 +239,7 @@ static int gpio_sandbox_probe(struct udevice *dev)
return 0;
}
-static const struct device_id sandbox_gpio_ids[] = {
+static const struct udevice_id sandbox_gpio_ids[] = {
{ .compatible = "sandbox,gpio" },
{ }
};
OpenPOWER on IntegriCloud