提交 ef9324b2 编写于 作者: P Peter E. Berger 提交者: Johan Hovold

USB: io_ti: Use serial->interface for messages in download_fw

Use serial->interface instead of serial->dev for messages in download_fw().
Signed-off-by: NPeter E. Berger <pberger@brimson.com>
Signed-off-by: NJohan Hovold <johan@kernel.org>
上级 277bf37b
......@@ -989,7 +989,7 @@ static int check_fw_sanity(struct edgeport_serial *serial,
static int download_fw(struct edgeport_serial *serial,
const struct firmware *fw)
{
struct device *dev = &serial->serial->dev->dev;
struct device *dev = &serial->serial->interface->dev;
int status = 0;
int start_address;
struct edge_ti_manuf_descriptor *ti_manuf_desc;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册