mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
usb: gadget: udc: fsl_mxc_udc: fix sparse error
No functional changes, just fixing one easy to spot sparse error. While fixing that sparse error, I had to add two includes to a header to avoid a build error. Signed-off-by: Felipe Balbi <[email protected]>
This commit is contained in:
parent
c43e97b2c5
commit
c9d8725926
2 changed files with 5 additions and 0 deletions
|
|
@ -18,6 +18,8 @@
|
|||
#include <linux/platform_device.h>
|
||||
#include <linux/io.h>
|
||||
|
||||
#include "fsl_usb2_udc.h"
|
||||
|
||||
static struct clk *mxc_ahb_clk;
|
||||
static struct clk *mxc_per_clk;
|
||||
static struct clk *mxc_ipg_clk;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@
|
|||
#ifndef __FSL_USB2_UDC_H
|
||||
#define __FSL_USB2_UDC_H
|
||||
|
||||
#include <linux/usb/ch9.h>
|
||||
#include <linux/usb/gadget.h>
|
||||
|
||||
/* ### define USB registers here
|
||||
*/
|
||||
#define USB_MAX_CTRL_PAYLOAD 64
|
||||
|
|
|
|||
Loading…
Reference in a new issue