Have you tried building module using module-assistant? It seems to me that m-a uses different set of build rules and builds acerhk just fine. However it's now necessary to change in acerhk.c:
#include <linux/config.h>
to
#include <generated/autoconf.h>
Have you tried building module using module-assistant? It seems to me that m-a uses different set of build rules and builds acerhk just fine. However it's now necessary to change in acerhk.c:
#include <linux/config.h>
to
#include <generated/ autoconf. h>