]> 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)
commitbce67b415a7d80bbc43a21e35a7cbb46a6ddc79c
tree2c3d8b23a601a06cb69562e6ad9b55bf596dc7a4
parent8214c7891ccd26cfa20d2ed9baf0b06c5f4f078c
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