Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pwm-beeper.c File Reference
#include <linux/input.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/pwm.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  pwm_beeper
 

Macros

#define HZ_TO_NANOSECONDS(x)   (1000000000UL/(x))
 
#define PWM_BEEPER_PM_OPS   NULL
 

Functions

 module_platform_driver (pwm_beeper_driver)
 
 MODULE_AUTHOR ("Lars-Peter Clausen <[email protected]>")
 
 MODULE_DESCRIPTION ("PWM beeper driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:pwm-beeper")
 

Macro Definition Documentation

#define HZ_TO_NANOSECONDS (   x)    (1000000000UL/(x))

Definition at line 29 of file pwm-beeper.c.

#define PWM_BEEPER_PM_OPS   NULL

Definition at line 171 of file pwm-beeper.c.

Function Documentation

MODULE_ALIAS ( "platform:pwm-beeper"  )
MODULE_AUTHOR ( "Lars-Peter Clausen <[email protected]>"  )
MODULE_DESCRIPTION ( "PWM beeper driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( pwm_beeper_driver  )