blob: eb5c1627e46cb9d687c1cd14ba3978bf44e7d4d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
*
* arch/arm/mach-s5pv310/include/mach/tdmb_pdata.h
*
* tdmb driver
*
* Copyright (C) (2011, Samsung Electronics)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation version 2.
*
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
* kind, whether express or implied; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef _TDMB_PDATA_H_
#define _TDMB_PDATA_H_
#if defined(CONFIG_TDMB) || defined(CONFIG_TDMB_MODULE)
struct tdmb_platform_data {
void (*gpio_on) (void);
void (*gpio_off)(void);
unsigned int irq;
#if defined(CONFIG_TDMB_ANT_DET)
unsigned int gpio_ant_det;
unsigned int irq_ant_det;
#endif
};
#endif
#endif
|