Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
driver.c File Reference
#include <linux/string.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/ctype.h>
#include <linux/slab.h>
#include <linux/pnp.h>
#include "base.h"

Go to the source code of this file.

Functions

int compare_pnp_id (struct pnp_id *pos, const char *id)
 
int pnp_device_attach (struct pnp_dev *pnp_dev)
 
void pnp_device_detach (struct pnp_dev *pnp_dev)
 
int pnp_register_driver (struct pnp_driver *drv)
 
void pnp_unregister_driver (struct pnp_driver *drv)
 
struct pnp_idpnp_add_id (struct pnp_dev *dev, const char *id)
 
 EXPORT_SYMBOL (pnp_register_driver)
 
 EXPORT_SYMBOL (pnp_unregister_driver)
 
 EXPORT_SYMBOL (pnp_device_attach)
 
 EXPORT_SYMBOL (pnp_device_detach)
 

Variables

struct bus_type pnp_bus_type
 

Function Documentation

int compare_pnp_id ( struct pnp_id pos,
const char id 
)

Definition at line 28 of file driver.c.

EXPORT_SYMBOL ( pnp_register_driver  )
EXPORT_SYMBOL ( pnp_unregister_driver  )
EXPORT_SYMBOL ( pnp_device_attach  )
EXPORT_SYMBOL ( pnp_device_detach  )
struct pnp_id* pnp_add_id ( struct pnp_dev dev,
const char id 
)
read

pnp_add_id - adds an EISA id to the specified device : pointer to the desired device : pointer to an EISA id string

Definition at line 242 of file driver.c.

int pnp_device_attach ( struct pnp_dev pnp_dev)

Definition at line 59 of file driver.c.

void pnp_device_detach ( struct pnp_dev pnp_dev)

Definition at line 71 of file driver.c.

int pnp_register_driver ( struct pnp_driver drv)

Definition at line 224 of file driver.c.

void pnp_unregister_driver ( struct pnp_driver drv)

Definition at line 232 of file driver.c.

Variable Documentation

struct bus_type pnp_bus_type
Initial value:
= {
.name = "pnp",
.match = pnp_bus_match,
.probe = pnp_device_probe,
.remove = pnp_device_remove,
.shutdown = pnp_device_shutdown,
.suspend = pnp_bus_suspend,
.resume = pnp_bus_resume,
.dev_attrs = pnp_interface_attrs,
}

Definition at line 213 of file driver.c.