summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/phy-am335x.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-11-02 16:53:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-03 10:12:27 +0100
commit8af620f06f015eb9e9062f6398204ee011b5ef22 (patch)
tree6202c1f1b410c71d742f0b269306b94848e9bcdb /drivers/usb/phy/phy-am335x.c
parentusb: remove msm_hsusb_hw.h (diff)
downloadlinux-8af620f06f015eb9e9062f6398204ee011b5ef22.tar.xz
linux-8af620f06f015eb9e9062f6398204ee011b5ef22.zip
usb: gadget: udc: renesas_usb3: make const array max_packet_array static
Don't populate the const array max_packet_array on the stack, instead make it static. Makes the object code smaller by over 90 bytes: Before: text data bss dec hex filename 34337 5612 128 40077 9c8d renesas_usb3.o After: text data bss dec hex filename 34149 5708 128 39985 9c31 renesas_usb3.o (gcc version 7.2.0 x86_64) Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy/phy-am335x.c')
0 files changed, 0 insertions, 0 deletions