Skip to content

Instantly share code, notes, and snippets.

@guilespi
Created July 28, 2012 02:05
Show Gist options
  • Save guilespi/3191435 to your computer and use it in GitHub Desktop.
Save guilespi/3191435 to your computer and use it in GitHub Desktop.
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, \
.runtime_idle = idle_fn,
#else
#define SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn)
#endif
@badukaire
Copy link

thanks so much!!!!

i owe you a box of beers

@AnneSt
Copy link

AnneSt commented Jun 18, 2019

Thanks!
Still a great help!!....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment