mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-19 11:19:31 +00:00
This is really the last commit for today. I promise ;-) git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@26 7894878c-1315-0410-8ee3-d5d059ff63e0
42 lines
1.6 KiB
Plaintext
42 lines
1.6 KiB
Plaintext
This is a list of modifications between the stock i2c code as distributed
|
|
by Simon Vogl, and the code included in and beneath this directory. None
|
|
of these changes are important; you can still use a self-compiled version
|
|
of the i2c code and not compile the version in here.
|
|
|
|
! Changes marked with an exclamation mark *are* important, and *must*
|
|
be applied! If there are changes like this in this list, you *must*
|
|
use our version of the i2c module!
|
|
|
|
Here come the changes:
|
|
|
|
* EXPORT_SYMBOL declarations put between #ifdef statements
|
|
They only work if you use the Linux source tree Makefiles. As we want to
|
|
use our own Makefile, we have removed them. This should have almost no
|
|
influence on the resulting object code; a few more functions may be
|
|
exported, but this should do no harm.
|
|
|
|
* bit-mb.c: Linux 2.0.x fixes
|
|
Some small changes to make this file compile with 2.0 kernels. These
|
|
changes will probably be included in the next i2c version.
|
|
|
|
* New file: Module.mk
|
|
The Makefile fragment we use to compile the files in this directory.
|
|
|
|
* New file: MODIFICATIONS
|
|
The file you are reading right now.
|
|
|
|
* Removed files: object files and executables
|
|
Everywhere, remakeable files are removed, to keep the source distribution
|
|
small and lean.
|
|
|
|
! i2c-core.c: i2c_del_adapter() change
|
|
Replaced
|
|
i2c_detach_client(client);
|
|
with:
|
|
client->driver->detach_client(client);
|
|
|
|
! i2c-core.c, i2c-core.h: function i2c_adapter_id added
|
|
We needed a function that would return a low, unique identifier for each
|
|
adapter. Putting it anywhere else would have created new, unneeded
|
|
module dependencies.
|