Comment 6 for bug 13196

Revision history for this message
Jeff Hodges (jmhodges) wrote :

Created an attachment (id=1487)
Now with acpixf.h goodness

I found that acpi_get_possible_resources is defined in
drivers/acpi/resources/rsxface.c and also contains the appropriate
EXPORT_SYMBOL call for it. That's when I slapped my forehead and removed the
#ifdef around the declaration in include/acpi/acpixf.h and tossed "#include
<acpi/acpixf.h>" into wacom_acpi.c (created in this patch). "This should do
it", I thought, but found I was quite wrong. acpi_get_possible_resources is
still an unknown symbol.I have no idea what I'm leaving out of this equation
but it seems my kernel hacking skills are even weaker than previously imagined.
 On the surface, it seems that rsxface.c is always built (and built in) but I
could be wrong. Does wacom_acpi need to depend on it? Or perhaps, it's merely
the fact that I screwed up the build of the kernel somehow? I went through all
of the steps from the wiki (KernelBuildpackageDetailedHowto) and I've had more
than a little experience compiling by hand, but maybe something in there sent
me wrong.

I'm assuming this is a simple 2 minute fix that I just can't see.