uwb: Use kcalloc instead of kzalloc to allocate array
[zen-stable.git] / drivers / video / matrox / matroxfb_crtc2.h
blob1005582e843e5084cecd6d99175c8168e0e1a375
1 #ifndef __MATROXFB_CRTC2_H__
2 #define __MATROXFB_CRTC2_H__
4 #include <linux/ioctl.h>
5 #include "matroxfb_base.h"
7 struct matroxfb_dh_fb_info {
8 struct fb_info fbcon;
9 int fbcon_registered;
10 int initialized;
12 struct matrox_fb_info* primary_dev;
14 struct {
15 unsigned long base; /* physical */
16 vaddr_t vbase; /* virtual */
17 unsigned int len;
18 unsigned int len_usable;
19 unsigned int len_maximum;
20 unsigned int offbase;
21 unsigned int borrowed;
22 } video;
23 struct {
24 unsigned long base;
25 vaddr_t vbase;
26 unsigned int len;
27 } mmio;
29 unsigned int interlaced:1;
31 u_int32_t cmap[16];
34 #endif /* __MATROXFB_CRTC2_H__ */