[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1200488504-6789-1-git-send-email-hannes@saeurebad.de>
Date: Wed, 16 Jan 2008 14:01:42 +0100
From: Johannes Weiner <hannes@...urebad.de>
To: linux-kernel@...r.kernel.org
Cc: ibm-acpi@....eng.br
Subject: thinkpad_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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists