Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/fb.h>
#include <linux/console.h>
#include <linux/module.h>
Go to the source code of this file.
Macros | |
#define | FB_SYSFS_FLAG_ATTR 1 |
#define | BYTES_PER_LONG (BITS_PER_LONG/8) |
#define | PADDING (BYTES_PER_LONG - (sizeof(struct fb_info) % BYTES_PER_LONG)) |
#define BYTES_PER_LONG (BITS_PER_LONG/8) |
#define PADDING (BYTES_PER_LONG - (sizeof(struct fb_info) % BYTES_PER_LONG)) |
EXPORT_SYMBOL | ( | framebuffer_alloc | ) |
EXPORT_SYMBOL | ( | framebuffer_release | ) |
framebuffer_alloc - creates a new frame buffer info structure
: size of driver private data, can be zero : pointer to the device for this fb, this can be NULL
Creates a new frame buffer info structure. Also reserves bytes for driver private data (info->par). info->par (if any) will be aligned to sizeof(long).
Returns the new structure, or NULL if an error occurred.