__pci_register_driver(9)

__pci_register_driver9

Register a new pci driver

Usage

int __pci_register_driver(struct pci_driver * drv, struct module * owner, const char * mod_name);

Arguments

drv

the driver structure to register

owner

owner module of drv

mod_name

module name string

Overview

Adds the driver structure to the list of registered drivers. Returns a negative value on error, otherwise 0. If no error occurred, the driver remains registered even if no device was claimed during registration.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.