Merge tag 'v3.10.91' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / stmp_device.h
1 /*
2 * basic functions for devices following the "stmp" style register layout
3 *
4 * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 */
11
12 #ifndef __STMP_DEVICE_H__
13 #define __STMP_DEVICE_H__
14
15 #define STMP_OFFSET_REG_SET 0x4
16 #define STMP_OFFSET_REG_CLR 0x8
17 #define STMP_OFFSET_REG_TOG 0xc
18
19 extern int stmp_reset_block(void __iomem *);
20 #endif /* __STMP_DEVICE_H__ */