Skip to content

Commit

Permalink
usb: gadget: constify of_device_id array
Browse files Browse the repository at this point in the history
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Fabian Frederick authored and Felipe Balbi committed Mar 19, 2015
1 parent 557f358 commit 3463d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/udc/pxa27x_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2387,7 +2387,7 @@ static struct pxa_udc memory = {
};

#if defined(CONFIG_OF)
static struct of_device_id udc_pxa_dt_ids[] = {
static const struct of_device_id udc_pxa_dt_ids[] = {
{ .compatible = "marvell,pxa270-udc" },
{}
};
Expand Down

0 comments on commit 3463d79

Please sign in to comment.