lkml.org 
[lkml]   [2008]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subjectthinkpad_acpi: define _sta only when needed
    Date

    Define _sta() helper conditionally; also remove its prototype from
    the internal header and also some other unneeded ones.

    This function is only needed when the bay or the dock subdriver is
    enabled. Otherwise, gcc complains about an unused static function.


    \
     
     \ /
      Last update: 2008-01-16 14:03    [W:0.018 / U:32.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site