diff options
Diffstat (limited to 'firmware/export/si4700.h')
-rw-r--r-- | firmware/export/si4700.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/firmware/export/si4700.h b/firmware/export/si4700.h new file mode 100644 index 0000000000..a740ae03ab --- /dev/null +++ b/firmware/export/si4700.h | |||
@@ -0,0 +1,36 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * | ||
9 | * $Id$ | ||
10 | * | ||
11 | * Tuner header for the Silicon Labs SI4700 | ||
12 | * | ||
13 | * Copyright (C) 2008 Dave Chapman | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or | ||
16 | * modify it under the terms of the GNU General Public License | ||
17 | * as published by the Free Software Foundation; either version 2 | ||
18 | * of the License, or (at your option) any later version. | ||
19 | * | ||
20 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
21 | * KIND, either express or implied. | ||
22 | * | ||
23 | ****************************************************************************/ | ||
24 | |||
25 | #ifndef _SI4700_H_ | ||
26 | #define _SI4700_H_ | ||
27 | |||
28 | int si4700_set(int setting, int value); | ||
29 | int si4700_get(int setting); | ||
30 | |||
31 | #ifndef CONFIG_TUNER_MULTI | ||
32 | #define tuner_set si4700_set | ||
33 | #define tuner_get si4700_get | ||
34 | #endif | ||
35 | |||
36 | #endif /* _SI4700_H_ */ | ||