Use the magic of common symbols to allow struct dev to effectively grow at

link time to accommodate whatever bus objects are included.
This commit is contained in:
Michael Brown
2005-04-14 10:10:54 +00:00
parent 0dc98309b2
commit 75d864432c
8 changed files with 84 additions and 49 deletions

View File

@@ -28,6 +28,7 @@
*/
struct dev;
struct mca_device {
char *magic; /* must be first */
struct dev *dev;
unsigned int slot;
unsigned char pos[8];