Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / stmp_device.h
blob6cf7ec9547cf4085c4de2085c67b5415a0abe0d7
1 /*
2 * basic functions for devices following the "stmp" style register layout
4 * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K.
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.
12 #ifndef __STMP_DEVICE_H__
13 #define __STMP_DEVICE_H__
15 #define STMP_OFFSET_REG_SET 0x4
16 #define STMP_OFFSET_REG_CLR 0x8
17 #define STMP_OFFSET_REG_TOG 0xc
19 extern int stmp_reset_block(void __iomem *);
20 #endif /* __STMP_DEVICE_H__ */