提交 06780727 编写于 作者: D Daniel Martin 提交者: Jiri Kosina

HID: Make I2C a known bus in hid_connect()

Just to prettify the log message. Otherwise it would be <UNKNOWN>.
Signed-off-by: NDaniel Martin <consume.noise@gmail.com>
Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 8ffd341c
......@@ -1678,6 +1678,9 @@ int hid_connect(struct hid_device *hdev, unsigned int connect_mask)
case BUS_BLUETOOTH:
bus = "BLUETOOTH";
break;
case BUS_I2C:
bus = "I2C";
break;
default:
bus = "<UNKNOWN>";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册