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

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.043 / U:1.072 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site