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    [from the cache]
©2003-2011 Jasper Spaans