qcacmn: Add support for multiple instances of the host driver
Propagation from qcacld-2.0 to qca-wifi-host-cmn. If the module name is changed to something other than wlan in Makefile or Kbuild, then MULTI_IF_NAME is defined to be the module name. When MULTI_IF_NAME is defined, the names for the config files, log files, and firmware files are prepended or appended with MULTI_IF_NAME. This prevents file name collisions allowing multiple instances of this driver to be loaded with different module names. Change-Id: Id880c5fe423eb0b2a2c01677d8fa7c4a784c74df CRs-Fixed: 946520
This commit is contained in:

committed by
qcabuildsw

orang tua
688645e3cb
melakukan
388b9a5c1e
@@ -43,7 +43,11 @@
|
||||
#include "pld_common.h"
|
||||
|
||||
#define PROCFS_NAME "athdiagpfs"
|
||||
#ifdef MULTI_IF_NAME
|
||||
#define PROCFS_DIR "cld" MULTI_IF_NAME
|
||||
#else
|
||||
#define PROCFS_DIR "cld"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This structure hold information about the /proc file
|
||||
|
Reference in New Issue
Block a user