lkml.org 
[lkml]   [2008]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] rtc: ds3234 doesn't link when built-in
    On Sun, 26 Oct 2008 15:19:20 +0100 (CET)
    Geert Uytterhoeven <geert@linux-m68k.org> wrote:

    > When ds3234 is built-in, the final links fails with the following vague error
    > message:
    >
    > `.exit.text' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
    >
    > ds3234_remove() cannot be marked __exit, as it's accessed via __devexit_p().
    > In addition, mark ds3234_probe() __devinit while we're at it.
    >
    > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

    Acked-by: Alessandro Zummo <a.zummo@towertech.it>

    --

    Best regards,

    Alessandro Zummo,
    Tower Technologies - Torino, Italy

    http://www.towertech.it



    \
     
     \ /
      Last update: 2008-10-26 23:13    [W:0.019 / U:4.076 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site