diff options
| author | Andres Salomon <dilinger@queued.net> | 2011-02-10 17:48:38 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-18 12:33:20 -0800 |
| commit | 45bfe97276856b866dd73fdadb65fb928c0c9bc1 (patch) | |
| tree | 18e0ead9db71c7a98e0ea341341119a2ca66eecd /include | |
| parent | feaa98b2a5e452d95624d3f217cf1aab9cd25db0 (diff) | |
staging: olpc_dcon: move fb stuff info dcon_priv, and clean up fb handling
- move fbinfo and ignore_fb_events into dcon_priv
- add calls to {un,}lock_fb_info before calling fb_blank
- fail to load the driver if there are no registered framebuffers
That last one fixes a potential oops, where if the dcon driver loads
without a framebuffer registered, fb_blank will end up being passed a
NULL (and will attempt to dereference it).
Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
