linux/arch/arm/mach-at91
Bo Shen 302090a66b ARM: at91/i2c: change id to let i2c-at91 work
The i2c core driver will turn the platform device ID to busnum
When using platfrom device ID as -1, it means dynamically assigned
the busnum. When writing code, we need to make sure the busnum,
and call i2c_register_board_info(int busnum, ...) to register device
if using -1, we do not know the value of busnum

In order to solve this issue, set the platform device ID as a fix number
Here using 0 to match the busnum used in i2c_regsiter_board_info()

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
2012-10-24 18:08:48 +02:00
..
include/mach Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux 2012-10-11 10:27:51 +09:00
at91rm9200_devices.c ARM: at91/i2c: change id to let i2c-at91 work 2012-10-24 18:08:48 +02:00
at91rm9200_time.c ARM: at91: fix system timer irq issue due to sparse irq support 2012-08-23 14:55:32 +02:00
at91rm9200.c ARM: at91/i2c: change id to let i2c-at91 work 2012-10-24 18:08:48 +02:00
at91sam9_alt_reset.S ARM: at91: make sdram/ddr register base soc independent 2012-02-23 14:57:56 +01:00
at91sam9g45_devices.c Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux 2012-10-11 10:27:51 +09:00
at91sam9g45_reset.S ARM: at91: make sdram/ddr register base soc independent 2012-02-23 14:57:56 +01:00
at91sam9g45.c ARM: at91: add clocks for I2C DT entries 2012-09-12 14:49:15 +02:00
at91sam9n12.c ARM: at91: add clocks for I2C DT entries 2012-09-12 14:49:15 +02:00
at91sam9rl_devices.c ARM: at91/i2c: change id to let i2c-at91 work 2012-10-24 18:08:48 +02:00
at91sam9rl.c i2c: at91: add new driver 2012-09-12 14:49:13 +02:00
at91sam9x5.c ARM: at91: add clocks for I2C DT entries 2012-09-12 14:49:15 +02:00
at91sam926x_time.c ARM: at91: sparse irq support 2012-07-02 14:26:59 +02:00
at91sam9260_devices.c ARM: at91/i2c: change id to let i2c-at91 work 2012-10-24 18:08:48 +02:00
at91sam9260.c ARM: at91/i2c: change id to let i2c-at91 work 2012-10-24 18:08:48 +02:00
at91sam9261_devices.c ARM: at91/i2c: change id to let i2c-at91 work 2012-10-24 18:08:48 +02:00
at91sam9261.c ARM: at91/i2c: change id to let i2c-at91 work 2012-10-24 18:08:48 +02:00
at91sam9263_devices.c ARM: at91/i2c: change id to let i2c-at91 work 2012-10-24 18:08:48 +02:00
at91sam9263.c ARM: at91/i2c: change id to let i2c-at91 work 2012-10-24 18:08:48 +02:00
at91x40_time.c ARM: at91: use __iomem pointers for MMIO 2012-09-18 10:15:11 +02:00
at91x40.c ARM: at91: use __iomem pointers for MMIO 2012-09-18 10:15:11 +02:00
board-1arm.c ARM: at91: at91 based machines specify their own irq handler at run time 2012-07-02 14:26:58 +02:00
board-afeb-9260v1.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-cam60.c ARM: at91: at91 based machines specify their own irq handler at run time 2012-07-02 14:26:58 +02:00
board-carmeva.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-cpu9krea.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-cpuat91.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-csb337.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-csb637.c ARM: at91: at91 based machines specify their own irq handler at run time 2012-07-02 14:26:58 +02:00
board-dt.c ARM: at91: at91 based machines specify their own irq handler at run time 2012-07-02 14:26:58 +02:00
board-eb01.c ARM: at91: at91 based machines specify their own irq handler at run time 2012-07-02 14:26:58 +02:00
board-eb9200.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-ecbat91.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-eco920.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-flexibity.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-foxg20.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-gsia18s.c ARM: at91: at91 based machines specify their own irq handler at run time 2012-07-02 14:26:58 +02:00
board-kafa.c Merge branch 'for-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds into next/drivers 2012-08-13 16:45:48 +02:00
board-kb9202.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-neocore926.c ARM: at91: fix external interrupt specification in board code 2012-10-24 18:08:47 +02:00
board-pcontrol-g20.c ARM: at91: at91 based machines specify their own irq handler at run time 2012-07-02 14:26:58 +02:00
board-picotux200.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-qil-a9260.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-rm9200dk.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-rm9200ek.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-rsi-ews.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-sam9-l9260.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-sam9g20ek.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-sam9m10g45ek.c ARM: at91: at91 based machines specify their own irq handler at run time 2012-07-02 14:26:58 +02:00
board-sam9rlek.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-sam9260ek.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-sam9261ek.c ARM: at91: fix external interrupt specification in board code 2012-10-24 18:08:47 +02:00
board-sam9263ek.c ARM: at91: fix external interrupt specification in board code 2012-10-24 18:08:47 +02:00
board-snapper9260.c ARM: at91: at91 based machines specify their own irq handler at run time 2012-07-02 14:26:58 +02:00
board-stamp9g20.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-usb-a926x.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
board-yl-9200.c Merge tag 'at91-for-next-soc' of git://github.com/at91linux/linux-at91 into at91/mci 2012-08-13 17:09:38 +02:00
clock.c sections: fix section conflicts in arch/arm/ 2012-10-06 03:04:38 +09:00
clock.h at91: switch to CLKDEV_LOOKUP 2011-05-25 23:04:34 +08:00
cpuidle.c ARM: at91: pm select memory controler at runtime 2012-04-17 14:46:43 +02:00
generic.h ARM: at91: fix external interrupts in non-DT case 2012-10-24 18:08:40 +02:00
gpio.c ARM: at91: aic can use fast eoi handler type 2012-07-02 14:26:57 +02:00
irq.c ARM: at91: fix external interrupts in non-DT case 2012-10-24 18:08:40 +02:00
Kconfig ARM: config: sort select statements alphanumerically 2012-10-13 17:11:28 +01:00
leds.c ARM: at91: convert old leds drivers to gpio_led and led_trigger drivers 2012-07-31 21:23:32 +08:00
Makefile ARM: at91: Add machine files for AT91SAM9N12 SoC 2012-04-28 01:40:11 +08:00
Makefile.boot ARM: move all dtb targets out of Makefile.boot 2012-09-14 09:22:04 -05:00
pm_slowclock.S ARN: at91: introduce SOC_AT91xxx define to allow to compile SoC core support 2012-04-17 14:47:21 +02:00
pm.c ARM: at91: unused variable in at91_pm_verify_clocks 2012-10-04 16:59:51 +02:00
pm.h ARN: at91: introduce SOC_AT91xxx define to allow to compile SoC core support 2012-04-17 14:47:21 +02:00
sam9_smc.c ARM: at91: add accessor to manage SMC 2012-02-13 18:31:36 +01:00
sam9_smc.h ARM: at91: add accessor to manage SMC 2012-02-13 18:31:36 +01:00
setup.c ARM: at91: fix external interrupts in non-DT case 2012-10-24 18:08:40 +02:00
soc.h ARM: at91: Add machine header file for AT91SAM9N12 SoC 2012-04-28 01:39:43 +08:00