lkml.org 
[lkml]   [2009]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 10/27] applicom: Auto-load applicom module when device opened.
    Date
    From: Scott James Remnant <scott@canonical.com>

    The applicom module is missing the char-major-10-157 alias that would
    cause it to be auto-loaded when a device of that type is opened. This
    patch adds the alias.

    Signed-off-by: Scott James Remnant <scott@canonical.com>
    Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
    Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
    ---

    drivers/char/applicom.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)


    diff --git a/drivers/char/applicom.c b/drivers/char/applicom.c
    index 05674fe..73a0765 100644
    --- a/drivers/char/applicom.c
    +++ b/drivers/char/applicom.c
    @@ -75,6 +75,7 @@ MODULE_DEVICE_TABLE(pci, applicom_pci_tbl);
    MODULE_AUTHOR("David Woodhouse & Applicom International");
    MODULE_DESCRIPTION("Driver for Applicom Profibus card");
    MODULE_LICENSE("GPL");
    +MODULE_ALIAS_MISCDEV(AC_MINOR);

    MODULE_SUPPORTED_DEVICE("ac");



    \
     
     \ /
      Last update: 2009-04-06 17:37    [W:3.353 / U:0.420 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site