{0,}
};
-struct omnibook_feature __declared_feature ac_driver = {
+static struct omnibook_feature __declared_feature ac_driver = {
.name = "ac",
#ifdef CONFIG_OMNIBOOK_LEGACY
.enabled = 1,
{0,}
};
-struct omnibook_feature __declared_feature cooling_driver = {
+static struct omnibook_feature __declared_feature cooling_driver = {
.name = "cooling",
.enabled = 1,
.read = omnibook_cooling_read,
* Update my email address
* Bump Debian policy to 3.9.1
+ * Apply patch from Ryan Martin <kynalvarus@gmail.com> to fix
+ alignment issue with kernel >= 2.6.33
- -- Julien Valroff <julien@debian.org> Sat, 15 Jan 2011 10:11:40 +0100
+ -- Julien Valroff <julien@debian.org> Sat, 15 Jan 2011 10:12:15 +0100
omnibook (2:2.20070211+svn20100520-1) unstable; urgency=low
for (i = 0; tbl[i].ectypes; i++) {
if (omnibook_ectype & tbl[i].ectypes) {
+ dprintk("Attempting backend %s init.\n",
+ tbl[i].io_op.backend->name);
if (tbl[i].io_op.backend->init && tbl[i].io_op.backend->init(&tbl[i].io_op)) {
dprintk("Backend %s init failed, skipping entry.\n",
tbl[i].io_op.backend->name);
dprintk("Match failed: disabling %s.\n", feature->name);
return -ENODEV;
}
+ dprintk("Match succeeded: continuing with %s.\n", feature->name);
feature->io_op = kmalloc(sizeof(struct omnibook_operation), GFP_KERNEL);
if (!feature->io_op)
return -ENOMEM;
return -ENOMEM;
INIT_LIST_HEAD(&omnibook_available_feature->list);
+ dprintk("Feature range %p - %p\n", _start_features_driver, _end_features_driver);
+
for (i = 0; i < _end_features_driver - _start_features_driver; i++) {
feature = &_start_features_driver[i];
-
+ dprintk("Testing feature %s at address %p\n", feature->name, feature);
+ if (!feature->name)
+ continue;
if (!feature->enabled)
continue;
{0,}
};
-struct omnibook_feature __declared_feature throttle_driver = {
+static struct omnibook_feature __declared_feature throttle_driver = {
.name = "throttling",
.enabled = 1,
.read = omnibook_throttle_read,