diff mbox

HID: uhid: add devname module alias

Message ID 1378058566-5207-1-git-send-email-marcel@holtmann.org (mailing list archive)
State New, archived
Delegated to: Jiri Kosina
Headers show

Commit Message

Marcel Holtmann Sept. 1, 2013, 6:02 p.m. UTC
For simple device node creation, add the devname module alias.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
---
 drivers/hid/uhid.c | 1 +
 1 file changed, 1 insertion(+)

Comments

David Herrmann Sept. 1, 2013, 6:36 p.m. UTC | #1
Hi

On Sun, Sep 1, 2013 at 8:02 PM, Marcel Holtmann <marcel@holtmann.org> wrote:
> For simple device node creation, add the devname module alias.

Yepp, looks good. uinput already has it, so:
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>

Thanks
David

> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
> ---
>  drivers/hid/uhid.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hid/uhid.c b/drivers/hid/uhid.c
> index fc307e0..9ab7dfc 100644
> --- a/drivers/hid/uhid.c
> +++ b/drivers/hid/uhid.c
> @@ -659,3 +659,4 @@ module_exit(uhid_exit);
>  MODULE_LICENSE("GPL");
>  MODULE_AUTHOR("David Herrmann <dh.herrmann@gmail.com>");
>  MODULE_DESCRIPTION("User-space I/O driver support for HID subsystem");
> +MODULE_ALIAS("devname:" UHID_NAME);
> --
> 1.8.3.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Jiri Kosina Sept. 2, 2013, 11:28 a.m. UTC | #2
On Sun, 1 Sep 2013, David Herrmann wrote:

> > For simple device node creation, add the devname module alias.
> 
> Yepp, looks good. uinput already has it, so:
> Reviewed-by: David Herrmann <dh.herrmann@gmail.com>

Applied, thanks.
diff mbox

Patch

diff --git a/drivers/hid/uhid.c b/drivers/hid/uhid.c
index fc307e0..9ab7dfc 100644
--- a/drivers/hid/uhid.c
+++ b/drivers/hid/uhid.c
@@ -659,3 +659,4 @@  module_exit(uhid_exit);
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("David Herrmann <dh.herrmann@gmail.com>");
 MODULE_DESCRIPTION("User-space I/O driver support for HID subsystem");
+MODULE_ALIAS("devname:" UHID_NAME);