iwlwifi: local namespace change for sysctl

In order for the FreeBSD-specific sysctl (which gives us a full list of
PCI device IDs/names/and firmware prefixes) to be in the proper namespace
add a LINUXKPI_PARAM_PREFIX definition to the file as well.

The sysctl can now be used as:
sysctl -n compat.linuxkpi.iwlwifi_pci_ids_name

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
Bjoern A. Zeeb 2023-09-21 22:05:02 +00:00
parent 242f314842
commit 0a22677bce

View file

@ -4,6 +4,9 @@
* Copyright (C) 2013-2015 Intel Mobile Communications GmbH
* Copyright (C) 2016-2017 Intel Deutschland GmbH
*/
#if defined(__FreeBSD__)
#define LINUXKPI_PARAM_PREFIX iwlwifi_
#endif
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>