i2c-simtec.c (0b28330e39bbe0ffee4c56b09fc415fcec595ea3) i2c-simtec.c (2178218027e4da0608219fae1d02e5c88f4e560d)
1/*
2 * Copyright (C) 2005 Simtec Electronics
3 * Ben Dooks <ben@simtec.co.uk>
4 *
5 * Simtec Generic I2C Controller
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 10 unchanged lines hidden (view full) ---

19*/
20
21#include <linux/kernel.h>
22#include <linux/module.h>
23#include <linux/init.h>
24#include <linux/delay.h>
25#include <linux/platform_device.h>
26#include <linux/slab.h>
1/*
2 * Copyright (C) 2005 Simtec Electronics
3 * Ben Dooks <ben@simtec.co.uk>
4 *
5 * Simtec Generic I2C Controller
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 10 unchanged lines hidden (view full) ---

19*/
20
21#include <linux/kernel.h>
22#include <linux/module.h>
23#include <linux/init.h>
24#include <linux/delay.h>
25#include <linux/platform_device.h>
26#include <linux/slab.h>
27#include <linux/io.h>
27
28#include <linux/i2c.h>
29#include <linux/i2c-algo-bit.h>
30
28
29#include <linux/i2c.h>
30#include <linux/i2c-algo-bit.h>
31
31#include <asm/io.h>
32
33struct simtec_i2c_data {
34 struct resource *ioarea;
35 void __iomem *reg;
36 struct i2c_adapter adap;
37 struct i2c_algo_bit_data bit;
38};
39
40#define CMD_SET_SDA (1<<2)

--- 150 unchanged lines hidden ---
32struct simtec_i2c_data {
33 struct resource *ioarea;
34 void __iomem *reg;
35 struct i2c_adapter adap;
36 struct i2c_algo_bit_data bit;
37};
38
39#define CMD_SET_SDA (1<<2)

--- 150 unchanged lines hidden ---