lkml.org 
[lkml]   [2008]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/1] Blackfin Watchdog Driver: split platform device/driver registering from actual watchdog device/driver registering so we can cleanly load/unload
    On 03/27/2008 02:30 AM, Bryan Wu wrote:
    > From: Mike Frysinger <vapier.adi@gmail.com>
    >
    > Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    > Signed-off-by: Bryan Wu <cooloney@kernel.org>
    > ---
    > drivers/watchdog/bfin_wdt.c | 109 +++++++++++++++++++++++++++---------------
    > 1 files changed, 70 insertions(+), 39 deletions(-)
    >
    > diff --git a/drivers/watchdog/bfin_wdt.c b/drivers/watchdog/bfin_wdt.c
    > index 1237113..c9944ba 100644
    > --- a/drivers/watchdog/bfin_wdt.c
    > +++ b/drivers/watchdog/bfin_wdt.c
    > @@ -29,6 +29,7 @@
    >
    > #define stamp(fmt, args...) pr_debug("%s:%i: " fmt "\n", __func__, __LINE__, ## args)
    > #define stampit() stamp("here i am")
    > +#define pr_devinit(fmt, args...) ({ static const __devinitdata char __fmt[] = fmt; printk(__fmt, ## args); })

    Ah and here. __devinitconst


    \
     
     \ /
      Last update: 2008-03-26 12:05    [W:0.023 / U:1.368 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site