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) 2007 MIPS Technologies, Inc.
7 * written by Ralf Baechle (ralf@linux-mips.org)
9 * Probe driver for the SEAD3 network device
12 #include <linux/module.h>
13 #include <linux/init.h>
14 #include <linux/platform_device.h>
18 struct resource i2c_resources
[] = {
22 .flags
= IORESOURCE_MEM
26 static struct platform_device i2c_device
= {
29 .num_resources
= ARRAY_SIZE(i2c_resources
),
30 .resource
= i2c_resources
33 static int __init
i2c_init(void)
35 return platform_device_register(&i2c_device
);
38 module_init(i2c_init
);
40 MODULE_AUTHOR("Chris Dearman <chris@mips.com>");
41 MODULE_LICENSE("GPL");
42 MODULE_DESCRIPTION("I2C probe driver for SEAD3");