Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
phonedev.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/phonedev.h>
#include <linux/init.h>
#include <asm/uaccess.h>
#include <linux/kmod.h>
#include <linux/sem.h>
#include <linux/mutex.h>

Go to the source code of this file.

Macros

#define PHONE_NUM_DEVICES   256
 

Functions

int phone_register_device (struct phone_device *p, int unit)
 
void phone_unregister_device (struct phone_device *pfd)
 
 module_init (telephony_init)
 
 module_exit (telephony_exit)
 
 MODULE_LICENSE ("GPL")
 
 EXPORT_SYMBOL (phone_register_device)
 
 EXPORT_SYMBOL (phone_unregister_device)
 

Macro Definition Documentation

#define PHONE_NUM_DEVICES   256

Definition at line 32 of file phonedev.c.

Function Documentation

EXPORT_SYMBOL ( phone_register_device  )
EXPORT_SYMBOL ( phone_unregister_device  )
module_exit ( telephony_exit  )
module_init ( telephony_init  )
MODULE_LICENSE ( "GPL"  )
int phone_register_device ( struct phone_device *  p,
int  unit 
)

Definition at line 88 of file phonedev.c.

void phone_unregister_device ( struct phone_device *  pfd)

Definition at line 119 of file phonedev.c.