]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc3: ulpi: make dwc3_ulpi_ops constant
authorTal Shorer <tal.shorer@gmail.com>
Tue, 16 Aug 2016 16:04:53 +0000 (19:04 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 6 Sep 2016 07:47:26 +0000 (10:47 +0300)
commit073c47aca7b7ccc6dd3fb21a3ee8134e30d8b327
tree05f5cc229dcd611bd32b9f2bce0f1b48c0619cba
parentb9454f90c9432e1a70389c26c34e972090efcec6
usb: dwc3: ulpi: make dwc3_ulpi_ops constant

ulpi_register_interface() accepts a const struct ulpi_ops and dwc3
doesn't perform any changes to this struct at runtime, so there's no
reason it shouldn't be constant.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Tal Shorer <tal.shorer@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/ulpi.c