lkml.org 
[lkml]   [2005]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    SubjectRe: [PATCH] ds1337: export ds1337_do_command
    From
    On Tue, May 10, 2005 at 10:55:49AM -0700, Greg KH wrote:
    > > --- linux-omap/drivers/i2c/chips/ds1337.c.orig 2005-05-10 14:10:49.637992600 +0200
    > > +++ linux-omap/drivers/i2c/chips/ds1337.c 2005-05-10 14:13:05.064404656 +0200
    > > @@ -380,5 +380,7 @@
    > > MODULE_DESCRIPTION("DS1337 RTC driver");
    > > MODULE_LICENSE("GPL");
    > >
    > > +EXPORT_SYMBOL(ds1337_do_command);
    >
    > EXPORT_SYMBOL_GPL() ok?

    Export ds1337_do_command so it could be used also if driver is built as
    module.

    Signed-off-by: Ladislav Michl <ladis@linux-mips.org>

    --- linux-omap/drivers/i2c/chips/ds1337.c.orig 2005-05-10 14:10:49.000000000 +0200
    +++ linux-omap/drivers/i2c/chips/ds1337.c 2005-05-11 10:28:13.152690512 +0200
    @@ -380,5 +380,7 @@
    MODULE_DESCRIPTION("DS1337 RTC driver");
    MODULE_LICENSE("GPL");

    +EXPORT_SYMBOL_GPL(ds1337_do_command);
    +
    module_init(ds1337_init);
    module_exit(ds1337_exit);
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2005-05-11 10:49    [W:4.202 / U:0.292 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site