2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Copyright (C) 2012 MIPS Technologies, Inc. All rights reserved.
8 #include <linux/init.h>
9 #include <linux/platform_device.h>
11 struct resource sead3_i2c_resources
[] = {
15 .flags
= IORESOURCE_MEM
,
19 static struct platform_device sead3_i2c_device
= {
22 .num_resources
= ARRAY_SIZE(sead3_i2c_resources
),
23 .resource
= sead3_i2c_resources
,
26 static int __init
sead3_i2c_init(void)
28 return platform_device_register(&sead3_i2c_device
);
31 device_initcall(sead3_i2c_init
);