diff options
author | GuanXuetao <gxt@mprc.pku.edu.cn> | 2011-02-26 08:29:29 -0500 |
---|---|---|
committer | GuanXuetao <gxt@mprc.pku.edu.cn> | 2011-03-16 21:19:20 -0400 |
commit | d10e4a660d11212a41ac5d2c116a655e25e2d38a (patch) | |
tree | 4c7452a2f41569bd830bacb174c260ba95421520 /drivers/i2c/busses/Makefile | |
parent | e5abf78b57199a417eb01ff922a5ea6ff9e10b61 (diff) |
unicore32 machine related files: add i2c bus drivers for pkunity-v3 soc
change from original version -- by advice of Jean Delvare
1. remove global variable i2c_reg, replaced by local variables
2. replace ENXIO with ENODEV when no platform resources
3. add adapter->nr assignment before i2c_add_numbered_adapter() call
4. add judgement for i2c_del_adapter() return value
5. release adapter when driver removed
6. add __devexit for puv3_i2c_remove() function
7. modify several names to more appropriated ones
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/i2c/busses/Makefile')
-rw-r--r-- | drivers/i2c/busses/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile index 9d2d0ec7fb23..a83966acc5ab 100644 --- a/drivers/i2c/busses/Makefile +++ b/drivers/i2c/busses/Makefile | |||
@@ -51,6 +51,7 @@ obj-$(CONFIG_I2C_PASEMI) += i2c-pasemi.o | |||
51 | obj-$(CONFIG_I2C_PCA_PLATFORM) += i2c-pca-platform.o | 51 | obj-$(CONFIG_I2C_PCA_PLATFORM) += i2c-pca-platform.o |
52 | obj-$(CONFIG_I2C_PMCMSP) += i2c-pmcmsp.o | 52 | obj-$(CONFIG_I2C_PMCMSP) += i2c-pmcmsp.o |
53 | obj-$(CONFIG_I2C_PNX) += i2c-pnx.o | 53 | obj-$(CONFIG_I2C_PNX) += i2c-pnx.o |
54 | obj-$(CONFIG_I2C_PUV3) += i2c-puv3.o | ||
54 | obj-$(CONFIG_I2C_PXA) += i2c-pxa.o | 55 | obj-$(CONFIG_I2C_PXA) += i2c-pxa.o |
55 | obj-$(CONFIG_I2C_S3C2410) += i2c-s3c2410.o | 56 | obj-$(CONFIG_I2C_S3C2410) += i2c-s3c2410.o |
56 | obj-$(CONFIG_I2C_S6000) += i2c-s6000.o | 57 | obj-$(CONFIG_I2C_S6000) += i2c-s6000.o |