aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorBen Cheatham <Benjamin.Cheatham@amd.com>2024-03-11 09:25:05 -0500
committerDan Williams <dan.j.williams@intel.com>2024-03-12 23:08:29 -0700
commit5621fafaac0031e8813be4873f8efa097591b026 (patch)
treeb82865729934f30e7ae61b43ba0257ad7c9acf09 /include
parentLinux 6.8-rc6 (diff)
downloadwireguard-linux-5621fafaac0031e8813be4873f8efa097591b026.tar.xz
wireguard-linux-5621fafaac0031e8813be4873f8efa097591b026.zip
EINJ: Migrate to a platform driver
Change the EINJ module to install a platform device/driver on module init and move the module init() and exit() functions to driver probe and remove. This change allows the EINJ module to load regardless of whether setting up EINJ succeeds, which allows dependent modules to still load (i.e. the CXL core). Since EINJ may no longer be initialized when the module loads, any functions that are called from dependent/external modules should safegaurd against the case EINJ didn't load. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Ben Cheatham <Benjamin.Cheatham@amd.com> Link: https://lore.kernel.org/r/20240311142508.31717-2-Benjamin.Cheatham@amd.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions