Broadcom SDK and wireless driver: another attempt to update to ver. 5.10.147.0
[tomato.git] / release / src-rt / linux / linux-2.6 / drivers / net / hnd / shared_ksyms.sh
blob48de8ec8b32e5f99202bb653ce68dbf5cd1322d6
1 #!/bin/sh
3 # Copyright (C) 2009, Broadcom Corporation
4 # All Rights Reserved.
5 #
6 # THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
7 # KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
8 # SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
9 # FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
11 # $Id: shared_ksyms.sh,v 1.2 2008/12/05 20:10:41 Exp $
14 cat <<EOF
15 #include <linux/config.h>
16 #include <linux/module.h>
17 EOF
19 for file in $* ; do
20 ${NM} $file | sed -ne 's/[0-9A-Fa-f]* [BDRT] \([^ ]*\)/extern void \1; EXPORT_SYMBOL(\1);/p'
21 done