From abe4560c8add1c58a944b36e8ea51b10968f4d7b Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Sun, 15 Apr 2012 20:29:34 +0200 Subject: Use DEVICE_ID_DYNAMIC where applicable We now have DEVICE_ID_DYNAMIC for dynamic allocation of device ids, Use it where applicable. Signed-off-by: Sascha Hauer --- drivers/usb/host/ohci-at91.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/usb/host/ohci-at91.c') diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index 7465182a7b..2ce7c6ecc5 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c @@ -63,7 +63,7 @@ static int at91_ohci_probe(struct device_d *dev) */ writel(0, ®s->control); - add_generic_device("ohci", -1, NULL, dev->resource[0].start, + add_generic_device("ohci", DEVICE_ID_DYNAMIC, NULL, dev->resource[0].start, dev->resource[0].size, IORESOURCE_MEM, NULL); return 0; -- cgit v1.2.3