usb: gadget: pxa27x_udc: fix warning in non device-tree build
authorRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 29 Oct 2014 20:58:33 +0000 (21:58 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 10 Nov 2014 23:19:33 +0000 (17:19 -0600)
commit004f7d457ef57d46ddf5f8380aa169214c166fca
treea4946bc0330ff90d3261220b6d04bf7a56b9a107
parent60f0e628c9940dc59463e986ddfa2c9e74ea89bb
usb: gadget: pxa27x_udc: fix warning in non device-tree build

The recent change bringing device-tree support triggers a warning in a
non device-tree build :
  drivers/usb/gadget/udc/pxa27x_udc.c:2405:28: warning: 'udc_pxa_dt_ids'
  defined but not used [-Wunused-variable]

Fix the warning with a preprocessor condition.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/pxa27x_udc.c