blob: 79727144c5cdaf14bd0b3eb0d692a2f93051f263 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 i2c-dev.h - i2c-bus driver, char device interface
3
4 Copyright (C) 1995-97 Simon G. Vogl
5 Copyright (C) 1998-99 Frodo Looijaard <frodol@dds.nl>
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
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
Jean Delvare5694f8a2012-03-26 21:47:19 +020019 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20 MA 02110-1301 USA.
Linus Torvalds1da177e2005-04-16 15:20:36 -070021*/
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#ifndef _LINUX_I2C_DEV_H
23#define _LINUX_I2C_DEV_H
24
David Howells607ca462012-10-13 10:46:48 +010025#include <uapi/linux/i2c-dev.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
David Brownell08fb68b2007-10-13 23:56:32 +020027#define I2C_MAJOR 89 /* Device major number */
Linus Torvalds1da177e2005-04-16 15:20:36 -070028#endif /* _LINUX_I2C_DEV_H */