Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323447
b: refs/heads/master
c: 1604870
h: refs/heads/master
i:
  323445: 04e7fb0
  323443: 32d6f5b
  323439: 0b2e4ab
v: v3
  • Loading branch information
Bruno Prémont authored and Jiri Kosina committed Sep 5, 2012
1 parent 65e2777 commit a9f22e0
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 110 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5785cc0101928663c8ed89f42afea719aecee09
refs/heads/master: 16048709b2f6a7e721ac677f9a6741ac1c13ffd7
19 changes: 13 additions & 6 deletions trunk/drivers/hid/hid-picolcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ struct picolcd_data {

#ifdef CONFIG_HID_PICOLCD_FB
/* Framebuffer stuff */
u8 fb_update_rate;
u8 fb_bpp;
u8 fb_force;
u8 *fb_vbitmap; /* local copy of what was sent to PicoLCD */
u8 *fb_bitmap; /* framebuffer */
struct fb_info *fb_info;
#endif /* CONFIG_HID_PICOLCD_FB */
#ifdef CONFIG_HID_PICOLCD_LCD
Expand All @@ -119,9 +114,21 @@ struct picolcd_data {
int status;
#define PICOLCD_BOOTLOADER 1
#define PICOLCD_FAILED 2
#define PICOLCD_READY_FB 4
};

#ifdef CONFIG_HID_PICOLCD_FB
struct picolcd_fb_data {
/* Framebuffer stuff */
spinlock_t lock;
struct picolcd_data *picolcd;
u8 update_rate;
u8 bpp;
u8 force;
u8 ready;
u8 *vbitmap; /* local copy of what was sent to PicoLCD */
u8 *bitmap; /* framebuffer */
};
#endif /* CONFIG_HID_PICOLCD_FB */

/* Find a given report */
#define picolcd_in_report(id, dev) picolcd_report(id, dev, HID_INPUT_REPORT)
Expand Down
Loading

0 comments on commit a9f22e0

Please sign in to comment.