Alexander Aring | b72f6f5 | 2015-08-11 21:44:08 +0200 | [diff] [blame^] | 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 | |
| 14 | #include <net/6lowpan.h> |
| 15 | |
| 16 | void lowpan_netdev_setup(struct net_device *dev, enum lowpan_lltypes lltype) |
| 17 | { |
| 18 | lowpan_priv(dev)->lltype = lltype; |
| 19 | } |
| 20 | EXPORT_SYMBOL(lowpan_netdev_setup); |