]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-at91/at91rm9200_devices.c
ARM: at91/i2c: change id to let i2c-at91 work
[karo-tx-linux.git] / arch / arm / mach-at91 / at91rm9200_devices.c
index 7cd80533ec5ddf62a23716a805bef594994fe028..1e122bcd7845e56c855afaf15d471fe69b2de3ef 100644 (file)
@@ -512,7 +512,7 @@ static struct resource twi_resources[] = {
 
 static struct platform_device at91rm9200_twi_device = {
        .name           = "i2c-at91rm9200",
-       .id             = -1,
+       .id             = 0,
        .resource       = twi_resources,
        .num_resources  = ARRAY_SIZE(twi_resources),
 };