| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2007, 2008, 2009 Siemens AG |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 |
|---|
| 6 | | - * as published by the Free Software Foundation. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 9 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 11 | | - * GNU General Public License for more details. |
|---|
| 12 | | - * |
|---|
| 13 | 4 | */ |
|---|
| 14 | 5 | #ifndef IEEE_802154_LOCAL_H |
|---|
| 15 | 6 | #define IEEE_802154_LOCAL_H |
|---|
| .. | .. |
|---|
| 20 | 11 | #define IEEE802154_OP(_cmd, _func) \ |
|---|
| 21 | 12 | { \ |
|---|
| 22 | 13 | .cmd = _cmd, \ |
|---|
| 23 | | - .policy = ieee802154_policy, \ |
|---|
| 24 | 14 | .doit = _func, \ |
|---|
| 25 | 15 | .dumpit = NULL, \ |
|---|
| 26 | 16 | .flags = GENL_ADMIN_PERM, \ |
|---|
| .. | .. |
|---|
| 29 | 19 | #define IEEE802154_DUMP(_cmd, _func, _dump) \ |
|---|
| 30 | 20 | { \ |
|---|
| 31 | 21 | .cmd = _cmd, \ |
|---|
| 32 | | - .policy = ieee802154_policy, \ |
|---|
| 33 | 22 | .doit = _func, \ |
|---|
| 34 | 23 | .dumpit = _dump, \ |
|---|
| 35 | 24 | } |
|---|