You need to sign in or sign up before continuing.
提交 c9d87259 编写于 作者: F Felipe Balbi

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: NFelipe Balbi <balbi@ti.com>
上级 c43e97b2
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/io.h> #include <linux/io.h>
#include "fsl_usb2_udc.h"
static struct clk *mxc_ahb_clk; static struct clk *mxc_ahb_clk;
static struct clk *mxc_per_clk; static struct clk *mxc_per_clk;
static struct clk *mxc_ipg_clk; static struct clk *mxc_ipg_clk;
......
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
#ifndef __FSL_USB2_UDC_H #ifndef __FSL_USB2_UDC_H
#define __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 registers here
*/ */
#define USB_MAX_CTRL_PAYLOAD 64 #define USB_MAX_CTRL_PAYLOAD 64
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册