Merge tag 'vmwgfx-fixes-4.3-151001' of git://people.freedesktop.org/~thomash/linux...
[deliverable/linux.git] / net / 6lowpan / core.c
CommitLineData
b72f6f51
AA
1/* This program is free software; you can redistribute it and/or modify
2 * it under the terms of the GNU General Public License version 2
3 * as published by the Free Software Foundation.
4 *
5 * This program is distributed in the hope that it will be useful,
6 * but WITHOUT ANY WARRANTY; without even the implied warranty of
7 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8 * GNU General Public License for more details.
9 *
10 * Authors:
11 * (C) 2015 Pengutronix, Alexander Aring <aar@pengutronix.de>
12 */
13
4ae935c1
AA
14#include <linux/module.h>
15
b72f6f51
AA
16#include <net/6lowpan.h>
17
18void lowpan_netdev_setup(struct net_device *dev, enum lowpan_lltypes lltype)
19{
20 lowpan_priv(dev)->lltype = lltype;
21}
22EXPORT_SYMBOL(lowpan_netdev_setup);
4ae935c1
AA
23
24static int __init lowpan_module_init(void)
25{
26 request_module_nowait("ipv6");
27
28 request_module_nowait("nhc_dest");
29 request_module_nowait("nhc_fragment");
30 request_module_nowait("nhc_hop");
31 request_module_nowait("nhc_ipv6");
32 request_module_nowait("nhc_mobility");
33 request_module_nowait("nhc_routing");
34 request_module_nowait("nhc_udp");
35
36 return 0;
37}
38module_init(lowpan_module_init);
39
40MODULE_LICENSE("GPL");
This page took 0.053641 seconds and 5 git commands to generate.