Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rafelbev
tp_smapi
input_dev.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File input_dev.patch of Package tp_smapi
--- hdaps.c.orig 2008-02-11 13:19:40.000000000 +0100 +++ hdaps.c 2008-02-11 13:23:20.000000000 +0100 @@ -36,6 +36,7 @@ #include <linux/jiffies.h> #include "thinkpad_ec.h" #include <linux/pci_ids.h> +#include <linux/version.h> /* Embedded controller accelerometer read command and its result: */ static const struct thinkpad_ec_row ec_accel_args = @@ -848,7 +849,9 @@ hdaps_idev->id.vendor = HDAPS_INPUT_VENDOR; hdaps_idev->id.product = HDAPS_INPUT_PRODUCT; hdaps_idev->id.version = HDAPS_INPUT_JS_VERSION; +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) hdaps_idev->cdev.dev = &pdev->dev; +#endif hdaps_idev->evbit[0] = BIT(EV_ABS); hdaps_idev->open = hdaps_mousedev_open; hdaps_idev->close = hdaps_mousedev_close; @@ -868,7 +871,9 @@ hdaps_idev_raw->id.vendor = HDAPS_INPUT_VENDOR; hdaps_idev_raw->id.product = HDAPS_INPUT_PRODUCT; hdaps_idev_raw->id.version = HDAPS_INPUT_RAW_VERSION; +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) hdaps_idev_raw->cdev.dev = &pdev->dev; +#endif hdaps_idev_raw->evbit[0] = BIT(EV_ABS); hdaps_idev_raw->open = hdaps_mousedev_open; hdaps_idev_raw->close = hdaps_mousedev_close;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor