diff --git a/i2c/MODIFICATIONS b/i2c/MODIFICATIONS index ddf04e20..865412b3 100644 --- a/i2c/MODIFICATIONS +++ b/i2c/MODIFICATIONS @@ -9,22 +9,13 @@ of the i2c code and not compile the version in here. Here come the changes: -* rscid declarations are changed - This is an unfortunate interaction between our CVS server and Simon's - RCS (CVS?) server. As these ids do not seem to be accessed anywhere, - there should be no change in the final object code - -* Log entries are added - Another RCS/CVS side effect. Our logs are sometimes put in the source - code. As they are just comments, they will do no harm. - -* EXPORT_SYMBOL declarations removed +* 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: Linux 2.0.x fixes +* 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. @@ -38,10 +29,13 @@ Here come the changes: Everywhere, remakeable files are removed, to keep the source distribution small and lean. -! i2c-core: i2c_del_adapter() change +! i2c-core.c: i2c_del_adapter() change Replaced i2c_detach_client(client); with: client->driver->detach_client(client); -! i2c-core: function i2c_adapter_id added +! 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.