Arnd Bergmann
ae40d64b1f
usb: gadget: at91_udc: call at91udc_of_init only when needed
...
This avoids a build error in at91sam9261_9g10_defconfig:
drivers/usb/gadget/at91_udc.c: In function 'at91udc_probe':
drivers/usb/gadget/at91_udc.c:1685:34: warning: 'flags' may be used uninitialized in this
function [-Wmaybe-uninitialized]
board->vbus_active_low = (flags & OF_GPIO_ACTIVE_LOW) ? 1 : 0;
^
drivers/usb/gadget/at91_udc.c:1678:21: note: 'flags' was declared here
enum of_gpio_flags flags;
^
Making the call to at91udc_of_init conditinal also reduces
the object code size without sacrificing build coverage.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-07-15 12:58:11 +03:00
..
2013-04-03 14:43:31 +03:00
2013-03-18 11:17:46 +02:00
2013-03-18 11:16:56 +02:00
2013-07-15 12:58:11 +03:00
2012-05-04 15:52:53 +03:00
2013-06-14 18:58:28 -07:00
2013-05-24 07:14:45 +08:00
2012-09-10 16:43:24 +03:00
2013-05-15 17:31:58 +03:00
2013-06-10 17:26:56 +03:00
2013-04-03 14:43:32 +03:00
2012-10-31 15:09:44 +02:00
2013-05-15 17:25:49 +03:00
2013-01-21 20:52:43 +02:00
2013-05-15 17:25:31 +03:00
2012-09-10 15:37:51 +03:00
2013-06-10 17:58:09 +03:00
2013-04-03 14:43:32 +03:00
2013-06-18 10:50:07 -07:00
2013-06-10 17:58:00 +03:00
2013-04-09 14:13:03 -04:00
2012-10-31 15:09:44 +02:00
2013-01-21 20:52:40 +02:00
2013-06-12 23:57:12 +03:00
2012-10-31 15:09:44 +02:00
2013-06-18 10:50:08 -07:00
2013-06-10 17:29:08 +03:00
2013-06-10 17:57:39 +03:00
2013-06-10 17:58:10 +03:00
2013-04-03 14:43:35 +03:00
2013-04-23 14:12:02 +03:00
2013-06-18 10:50:08 -07:00
2013-03-04 13:13:58 +02:00
2013-06-10 17:10:23 +03:00
2013-07-13 12:09:57 -07:00
2013-03-18 11:18:18 +02:00
2013-06-10 17:58:11 +03:00
2013-06-10 17:58:11 +03:00
2013-01-18 14:08:21 +02:00
2013-05-28 20:16:56 +03:00
2012-06-12 13:32:29 +03:00
2013-05-05 00:16:11 -04:00
2013-01-18 14:08:21 +02:00
2013-01-21 20:52:46 +02:00
2013-05-28 20:16:56 +03:00
2013-04-02 16:57:24 +03:00
2013-06-10 17:58:08 +03:00
2013-01-21 20:52:40 +02:00
2012-09-10 16:43:24 +03:00
2013-01-10 12:38:52 +02:00
2013-05-05 00:16:11 -04:00
2013-03-18 11:16:45 +02:00
2012-11-21 13:27:17 -08:00
2013-05-15 17:21:52 +03:00
2011-09-09 16:00:09 -07:00
2013-05-07 18:38:29 -07:00
2013-07-02 14:33:21 -07:00
2013-05-01 17:51:54 -07:00
2013-05-28 20:16:56 +03:00
2013-01-24 21:11:29 +02:00
2013-06-10 17:58:11 +03:00
2012-09-10 16:13:03 +03:00
2013-06-10 17:58:08 +03:00
2013-05-28 20:16:56 +03:00
2012-06-22 13:08:21 +03:00
2013-04-02 11:42:45 +03:00
2013-04-02 11:42:45 +03:00
2013-06-10 17:12:52 +03:00
2012-05-12 15:02:22 -04:00
2013-04-05 15:18:00 -07:00
2013-04-05 15:18:00 -07:00
2011-09-09 16:00:09 -07:00
2013-06-10 17:32:23 +03:00
2013-03-18 11:17:53 +02:00
2012-05-04 15:52:57 +03:00
2013-03-27 13:18:59 +02:00
2013-02-22 23:31:31 -05:00
2013-05-15 17:22:06 +03:00
2013-01-24 21:11:31 +02:00
2013-05-28 20:09:32 +03:00
2013-01-24 21:11:31 +02:00
2013-06-10 17:08:48 +03:00
2012-07-30 17:25:12 -07:00
2013-06-10 17:58:09 +03:00
2013-06-10 17:58:09 +03:00
2013-05-15 17:24:39 +03:00
2013-01-24 21:11:32 +02:00
2013-05-15 17:33:09 +03:00
2012-05-04 15:53:17 +03:00
2013-03-18 11:18:10 +02:00
2013-04-03 14:43:36 +03:00
2013-02-26 20:16:07 -08:00
2013-07-07 18:36:53 -07:00
2012-09-10 16:13:00 +03:00
2013-06-10 17:27:54 +03:00
2013-06-10 17:58:00 +03:00
2013-06-10 17:15:43 +03:00
2013-06-10 17:57:45 +03:00
2013-06-10 17:57:47 +03:00
2013-06-10 17:58:08 +03:00
2013-06-10 17:15:02 +03:00
2013-06-10 17:31:55 +03:00
2013-06-10 17:58:10 +03:00
2013-03-14 12:47:53 +02:00
2013-04-03 14:43:20 +03:00
2013-03-04 13:16:45 +02:00
2012-02-15 10:09:48 +02:00
2013-04-05 15:18:00 -07:00
2012-09-10 16:13:03 +03:00
2013-06-04 23:27:50 +03:00
2013-04-02 11:42:48 +03:00
2013-04-02 11:42:49 +03:00
2013-04-02 11:42:48 +03:00
2013-06-21 11:04:47 -03:00
2013-01-10 12:38:52 +02:00
2013-05-15 17:15:57 +03:00