Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
clock_ops.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/pm.h>
#include <linux/pm_clock.h>
#include <linux/clk.h>
#include <linux/slab.h>
#include <linux/err.h>

Go to the source code of this file.

Functions

void pm_clk_add_notifier (struct bus_type *bus, struct pm_clk_notifier_block *clknb)
 

Function Documentation

void pm_clk_add_notifier ( struct bus_type bus,
struct pm_clk_notifier_block clknb 
)

pm_clk_add_notifier - Add bus type notifier for power management clocks. : Bus type to add the notifier to. : Notifier to be added to the given bus type.

The nb member of is not expected to be initialized and its notifier_call member will be replaced with pm_clk_notify(). However, the remaining members of should be populated prior to calling this routine.

Definition at line 478 of file clock_ops.c.