Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --new-file --exclude='.git*' -urbB mytest/drivers/cpufreq/cpufreq_ondemand.c kernel/drivers/cpufreq/cpufreq_ondemand.c
- --- mytest/drivers/cpufreq/cpufreq_ondemand.c 2010-11-02 00:10:01.000000000 +0000
- +++ kernel/drivers/cpufreq/cpufreq_ondemand.c 2010-07-22 13:11:18.000000000 +0100
- @@ -645,6 +645,10 @@
- static void dbs_input_event(struct input_handle *handle, unsigned int type,
- unsigned int code, int value)
- {
- +#ifdef CONFIG_SENSORS_AK8973
- + if (!strcmp(handle->dev->name, "compass"))
- + return;
- +#endif
- schedule_work(&dbs_refresh_work);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement