]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: introduce driver-ops header
authorAlexander Aring <alex.aring@gmail.com>
Tue, 28 Oct 2014 17:21:20 +0000 (18:21 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 28 Oct 2014 22:19:07 +0000 (23:19 +0100)
commit258121b0540377b2420abf69eb22dbaaab14bbfa
treeb3789b53065ecec56d9d327073ec897a87d01c0e
parentc8a8544bbc097045cbf3f30725b48e7d7b1e6eed
mac802154: introduce driver-ops header

This patch introduce a driver-ops header file with function wrappers to
call the driver ops. These wrappers checking on right context
information and warn if optional driver ops are called when these aren't
implemented. This behaviour is like mac80211 driver-ops header file,
just without function tracing calls.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/driver-ops.h [new file with mode: 0644]