Skip to content

Instantly share code, notes, and snippets.

View badukaire's full-sized avatar
🐢
starting to contribute ...

badukaire badukaire

🐢
starting to contribute ...
View GitHub Profile
@guilespi
guilespi / pm.h diff update
Created July 28, 2012 02:05
Compile latest igb driver on debian squeeze 2.6.32-5-amd64
#When presented with failure
igb-3.4.8/src/igb_main.c:193: error: implicit declaration of function SET_RUNTIME_PM_OPS
#Add the following macro to
#/usr/src/linux-headers-2.6.32-5-common/include/linux/pm.h
#ifdef CONFIG_PM_RUNTIME
#define SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \
.runtime_suspend = suspend_fn, \
.runtime_resume = resume_fn, \