]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: move module_init into core functionality
authorAlexander Aring <alex.aring@gmail.com>
Tue, 11 Aug 2015 19:44:09 +0000 (21:44 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 11 Aug 2015 20:05:36 +0000 (22:05 +0200)
commitdc1617fd920ee0bb6560b83b9a604d54d61d03cd
tree2c3d8b23a601a06cb69562e6ad9b55bf596dc7a4
parent64dc86617f3ca82f9e7b3ea7d2371bf64bf4eeb9
6lowpan: move module_init into core functionality

This patch moves module_init of 6lowpan module into core functionality
of 6lowpan module. To load the ipv6 module at probing of the 6lowpan
module should be core functionality. Loading next header compression
modules is iphc specific. Nevertheless we only support IPHC for the
generic 6LoWPAN branch right now so we can put it into the core
functionality. If possible new compression formats are introduced nhc
should load only when iphc is build.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/6lowpan/core.c
net/6lowpan/iphc.c