From c7092b22fc7d0debae114fe37cf3b967997e1cdb Mon Sep 17 00:00:00 2001 From: Sandeep Patil Date: Fri, 13 May 2016 11:51:04 -0700 Subject: [PATCH] greybus: gpbridge: make gpbridge device ids start with 1 Making gpb device ids consistent with all other devices on greybus Testing Done: Tested using gpb module to make sure the first gpbX/ device starts with 1. Signed-off-by: Sandeep Patil Reviewed-by: Viresh Kumar Reviewed-by: Vaibhav Hiremath Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/gpbridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/gpbridge.c b/drivers/staging/greybus/gpbridge.c index 82fbf26bc78b..b22f5e452e9d 100644 --- a/drivers/staging/greybus/gpbridge.c +++ b/drivers/staging/greybus/gpbridge.c @@ -178,7 +178,7 @@ static struct gpbridge_device *gb_gpbridge_create_dev(struct gb_bundle *bundle, int retval; int id; - id = ida_simple_get(&gpbridge_id, 0, 0, GFP_KERNEL); + id = ida_simple_get(&gpbridge_id, 1, 0, GFP_KERNEL); if (id < 0) return ERR_PTR(id); -- 2.39.2