llc2: Remove dead code for state machine
[linux/fpc-iii.git] / arch / mips / sibyte / swarm / swarm-i2c.c
blob062505054d4269c7a9684ad50a42c4fb2b90ad9a
1 /*
2 * Broadcom BCM91250A (SWARM), etc. I2C platform setup.
4 * Copyright (c) 2008 Maciej W. Rozycki
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
12 #include <linux/i2c.h>
13 #include <linux/init.h>
14 #include <linux/kernel.h>
17 static struct i2c_board_info swarm_i2c_info1[] __initdata = {
19 I2C_BOARD_INFO("m41t81", 0x68),
23 static int __init swarm_i2c_init(void)
25 int err;
27 err = i2c_register_board_info(1, swarm_i2c_info1,
28 ARRAY_SIZE(swarm_i2c_info1));
29 if (err < 0)
30 printk(KERN_ERR
31 "swarm-i2c: cannot register board I2C devices\n");
32 return err;
35 arch_initcall(swarm_i2c_init);