OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [isdn/] [isdn_syms.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
/* $Id: isdn_syms.c,v 1.1 2005-12-20 10:16:56 jcastillo Exp $
2
 
3
 * Linux ISDN subsystem, exported symbols (linklevel).
4
 *
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
7
 * the Free Software Foundation; either version 2, or (at your option)
8
 * any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
 *
19
 * $Log: not supported by cvs2svn $
20
 * Revision 1.1.1.1  2001/09/10 07:44:18  simons
21
 * Initial import
22
 *
23
 * Revision 1.1.1.1  2001/07/02 17:58:31  simons
24
 * Initial revision
25
 *
26
 * Revision 1.3  1997/02/16 01:02:47  fritz
27
 * Added GPL-Header, Id and Log
28
 *
29
 */
30
 
31
#include <linux/module.h>
32
#include <linux/version.h>
33
 
34
#ifndef __GENKSYMS__      /* Don't want genksyms report unneeded structs */
35
#include <linux/isdn.h>
36
#endif
37
#include "isdn_common.h"
38
 
39
#if (LINUX_VERSION_CODE < 0x020111)
40
static int has_exported;
41
 
42
static struct symbol_table isdn_syms = {
43
#include <linux/symtab_begin.h>
44
        X(register_isdn),
45
#include <linux/symtab_end.h>
46
};
47
 
48
void
49
isdn_export_syms(void)
50
{
51
        if (has_exported)
52
                return;
53
        register_symtab(&isdn_syms);
54
        has_exported = 1;
55
}
56
 
57
#else
58
 
59
EXPORT_SYMBOL(register_isdn);
60
 
61
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.