From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jurgen Kramer Subject: Re: 2.6.10 and acpi_get_possible_resources? *solved* Date: Tue, 18 Jan 2005 19:41:27 +0100 Message-ID: <1106073687.7545.2.camel@paragon.slim> References: <1105713621.10664.8.camel@paragon.slim> <1105833637.27841.4.camel@paragon.slim> <20050117113020.A19913@unix-os.sc.intel.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050117113020.A19913-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org> Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Rajesh Shah Cc: acpi-devel List-Id: linux-acpi@vger.kernel.org On Mon, 2005-01-17 at 11:30 -0800, Rajesh Shah wrote: > On Sun, Jan 16, 2005 at 01:00:37AM +0100, Jurgen Kramer wrote: > > On Fri, 2005-01-14 at 15:40 +0100, Jurgen Kramer wrote: > > > I am trying to get the WACOM ACPI patches working on 2.6.10 but it bails > > > out on a missing function "acpi_get_possible_resources". On 2.6.9 the > > > needed symbol is exported by acpi_ksyms.c but this file no longer exists > > > in 2.6.10. > > > > > > What is the best way to get the acpi_get_possible_resources function > > > exported properly? It is defined in but adding this to > > > the wacom source files did not help. > > > > > > The 2.6.9 version of the wacom patches are from: > > > > > > http://www.theory.bham.ac.uk/staff/schofield/linux/tc1100/linux-2.6.9- > > > wacom_acpi.patch > > > > Problem solved. The functions from needed a #define > > ACPI_FUTURE_USAGE 1 to work again. > > > > My wacom tablet is working again with 2.6.10. > > > A better fix, though, would be to move the specific export you > need out of the FUTURE_USAGE define. This ifdef was introduced > to eliminate bloat due to unused exports, and including it all > back in defeats the purpose. You are right of course but it only applies if the patches were to be included in the mainline ACPI tree. For now it's just me using the "acpi_get_possible_resources" function here at home. Jurgen ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt