Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e12ef7f0 authored by Ben Dooks's avatar Ben Dooks
Browse files

ARM: S3C2416: Use s3c2440 style i2c controller



The s3c2416 i2c controllers are compatible with the s3c2440 style i2c
block, so change the device name appropriately.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org&gt;y>
parent a6e1ec7f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -50,6 +50,8 @@
#include <plat/devs.h>
#include <plat/cpu.h>

#include <plat/iic-core.h>

static struct map_desc s3c2416_iodesc[] __initdata = {
	IODESC_ENT(WATCHDOG),
	IODESC_ENT(CLKPWR),
@@ -80,6 +82,10 @@ int __init s3c2416_init(void)
	s3c_device_wdt.resource[1].start = IRQ_S3C2443_WDT;
	s3c_device_wdt.resource[1].end   = IRQ_S3C2443_WDT;

	/* the i2c devices are directly compatible with s3c2440 */
	s3c_i2c0_setname("s3c2440-i2c");
	s3c_i2c1_setname("s3c2440-i2c");

	return sysdev_register(&s3c2416_sysdev);
}