Hi,
I'm currently working on a few kernel drivers (not yet merged into the
kernel). The main driver (for talking to some hardware over an I2C bus)
relies on another (for the I2C bus itself).
When compiled as modules, loading the main driver with modprobe loads the I2C
bus driver automatically. But when statically linked into the kernel the main
driver is loaded before the I2C bus driver, which causes it to barf.
How can I get the I2C bus driver to be linked before the main driver? I've
tried re-ordering things in Makefiles, but nothing I've tried seems to make
any difference.
The I2C bus driver is:
drivers/i2c/busses/i2c-envctrl.c
While the main driver is:
arch/sparc64/kernel/env_envctrl.c
Any help would be greatly appreciated!
Thanks,
David.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]