.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FRAMEBUFFER_ALLOC" "9" "09 October 2005" "" ""
.SH NAME
framebuffer_alloc \- creates a new frame buffer info structure
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct fb_info * framebuffer_alloc (size_t \fIsize\fB, struct device * \fIdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsize\fB\fR
size of driver private data, can be zero
.TP
\fB\fIdev\fB\fR
pointer to the device for this fb, this can be NULL
.SH "DESCRIPTION"
.PP
Creates a new frame buffer info structure. Also reserves \fIsize\fR bytes
for driver private data (info->par). info->par (if any) will be
aligned to sizeof(long).
.PP
Returns the new structure, or NULL if an error occured.
.SH "DESCRIPTION"
.PP
Creates a new frame buffer info structure. Also reserves \fIsize\fR bytes
for driver private data (info->par). info->par (if any) will be
aligned to sizeof(long).
.PP
Returns the new structure, or NULL if an error occured.