RE: Getting the IRQ number (Was: Basic driver devel questions ?)
From: David Laight <hidden>
Date: 2010-12-06 14:49:21
From: David Laight <hidden>
Date: 2010-12-06 14:49:21
=20
Another question: I just spent 10 minutes trying to find where "struct device" was defined.
Dirty trick #4:
At the top of a source file (before the first include) add:
struct device { int fubar; };
Then try to compile it.
The compiler will the tell where it is defined!
David