Merge branch 'parisc-4.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[cascardo/linux.git] / drivers / staging / fbtft / fbtft.h
index d3bc394..89c4b5b 100644 (file)
@@ -38,7 +38,7 @@
  */
 struct fbtft_gpio {
        char name[FBTFT_GPIO_NAME_SIZE];
-       unsigned gpio;
+       unsigned int gpio;
 };
 
 struct fbtft_par;
@@ -79,7 +79,7 @@ struct fbtft_ops {
        void (*reset)(struct fbtft_par *par);
        void (*mkdirty)(struct fb_info *info, int from, int to);
        void (*update_display)(struct fbtft_par *par,
-                               unsigned start_line, unsigned end_line);
+                               unsigned int start_line, unsigned int end_line);
        int (*init_display)(struct fbtft_par *par);
        int (*blank)(struct fbtft_par *par, bool on);
 
@@ -115,14 +115,14 @@ struct fbtft_ops {
  * This structure is not stored by FBTFT except for init_sequence.
  */
 struct fbtft_display {
-       unsigned width;
-       unsigned height;
-       unsigned regwidth;
-       unsigned buswidth;
-       unsigned backlight;
+       unsigned int width;
+       unsigned int height;
+       unsigned int regwidth;
+       unsigned int buswidth;
+       unsigned int backlight;
        struct fbtft_ops fbtftops;
-       unsigned bpp;
-       unsigned fps;
+       unsigned int bpp;
+       unsigned int fps;
        int txbuflen;
        int *init_sequence;
        char *gamma;
@@ -146,9 +146,9 @@ struct fbtft_display {
 struct fbtft_platform_data {
        struct fbtft_display display;
        const struct fbtft_gpio *gpios;
-       unsigned rotate;
+       unsigned int rotate;
        bool bgr;
-       unsigned fps;
+       unsigned int fps;
        int txbuflen;
        u8 startbyte;
        char *gamma;
@@ -216,8 +216,8 @@ struct fbtft_par {
        u8 startbyte;
        struct fbtft_ops fbtftops;
        spinlock_t dirty_lock;
-       unsigned dirty_lines_start;
-       unsigned dirty_lines_end;
+       unsigned int dirty_lines_start;
+       unsigned int dirty_lines_end;
        struct {
                int reset;
                int dc;