Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 6dbe51c251a327e012439c4772097a13df43c5b8 authored by Linus Torvalds on 03 March 2013, 23:11:05 UTC
Linux 3.9-rc1
Tip revision: 6dbe51c
retu.h
/*
 * Retu MFD driver interface
 *
 * This file is subject to the terms and conditions of the GNU General
 * Public License. See the file "COPYING" in the main directory of this
 * archive for more details.
 */

#ifndef __LINUX_MFD_RETU_H
#define __LINUX_MFD_RETU_H

struct retu_dev;

int retu_read(struct retu_dev *, u8);
int retu_write(struct retu_dev *, u8, u16);

/* Registers */
#define RETU_REG_WATCHDOG	0x17		/* Watchdog */
#define RETU_REG_CC1		0x0d		/* Common control register 1 */
#define RETU_REG_STATUS		0x16		/* Status register */

#endif /* __LINUX_MFD_RETU_H */
back to top