These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / staging / sm750fb / ddk750_help.h
1 #ifndef DDK750_HELP_H__
2 #define DDK750_HELP_H__
3 #include "ddk750_chip.h"
4 #ifndef USE_INTERNAL_REGISTER_ACCESS
5
6 #include <linux/ioport.h>
7 #include <linux/io.h>
8 #include <linux/uaccess.h>
9 #include "sm750_help.h"
10
11 /* software control endianness */
12 #define PEEK32(addr) readl(addr + mmio750)
13 #define POKE32(addr, data) writel(data, addr + mmio750)
14
15 extern void __iomem *mmio750;
16 extern char revId750;
17 extern unsigned short devId750;
18 #else
19 /* implement if you want use it*/
20 #endif
21
22 #endif