X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Finclude%2Fwol.h;h=20f0af6d7026d9a487ddbcfa108b8e40b55f5486;hb=HEAD;hp=8b131ac8255babc91813c2994c7b1e66b0210794;hpb=42f3ffb244e5cabba181fe6c59042caa61b650cb;p=carl9170fw.git diff --git a/carlfw/include/wol.h b/carlfw/include/wol.h index 8b131ac..20f0af6 100644 --- a/carlfw/include/wol.h +++ b/carlfw/include/wol.h @@ -19,8 +19,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * with this program; If not, see . */ #ifndef __CARL9170FW_WOL_H @@ -38,24 +37,28 @@ struct ieee80211_hdr; void wol_prepare(void); void wol_janitor(void); -void wol_rx(const unsigned int rx_filter __unused, const struct ieee80211_hdr *hdr __unused, const unsigned int len __unused); +void wol_rx(const unsigned int rx_filter __unused, + const struct ieee80211_hdr *hdr __unused, + const unsigned int len __unused); void wol_cmd(const struct carl9170_wol_cmd *cmd); #else -inline static void wol_cmd(const struct carl9170_wol_cmd *cmd __unused) +static inline void wol_cmd(const struct carl9170_wol_cmd *cmd __unused) { } -inline static void wol_prepare(void) +static inline void wol_prepare(void) { } -inline static void wol_janitor(void) +static inline void wol_janitor(void) { } -inline static void wol_rx(const unsigned int rx_filter __unused, const struct ieee80211_hdr *hdr __unused, const unsigned int len __unused) +static inline void wol_rx(const unsigned int rx_filter __unused, + const struct ieee80211_hdr *hdr __unused, + const unsigned int len __unused) { } #endif /* CONFIG_CARL9170FW_WOL */