'\" t .\" Title: __uio_register_device .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "__UIO_REGISTER_DEVIC" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Device drivers infrastructure" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" __uio_register_device \- register a new userspace IO device .SH "SYNOPSIS" .HP \w'int\ __uio_register_device('u .BI "int __uio_register_device(struct\ module\ *\ " "owner" ", struct\ device\ *\ " "parent" ", struct\ uio_info\ *\ " "info" ");" .SH "ARGUMENTS" .PP \fIowner\fR .RS 4 module that creates the new device .RE .PP \fIparent\fR .RS 4 parent device .RE .PP \fIinfo\fR .RS 4 UIO device capabilities .RE .SH "DESCRIPTION" .PP returns zero on success or a negative error code\&. .SH "COPYRIGHT" .br