Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
platform-imx2-wdt.c File Reference
#include <asm/sizes.h>
#include <mach/hardware.h>
#include <mach/devices-common.h>

Go to the source code of this file.

Macros

#define imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size)
 
#define imx_imx2_wdt_data_entry(soc, _id, _hwid, _size)   [_id] = imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size)
 

Functions

struct platform_device *__init imx_add_imx2_wdt (const struct imx_imx2_wdt_data *data)
 

Macro Definition Documentation

#define imx_imx2_wdt_data_entry (   soc,
  _id,
  _hwid,
  _size 
)    [_id] = imx_imx2_wdt_data_entry_single(soc, _id, _hwid, _size)

Definition at line 19 of file platform-imx2-wdt.c.

#define imx_imx2_wdt_data_entry_single (   soc,
  _id,
  _hwid,
  _size 
)
Value:
{ \
.id = _id, \
.iobase = soc ## _WDOG ## _hwid ## _BASE_ADDR, \
.iosize = _size, \
}

Definition at line 13 of file platform-imx2-wdt.c.

Function Documentation

struct platform_device* __init imx_add_imx2_wdt ( const struct imx_imx2_wdt_data data)
read

Definition at line 65 of file platform-imx2-wdt.c.