Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51cac89a authored by Will McVicker's avatar Will McVicker
Browse files

ANDROID: GKI: drivers: qcom: cmd-db: Allow compiling qcom,cmd-db driver as module



This is a hardware specific driver. So, allow compiling it as a module.

Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
Signed-off-by: default avatarSaravana Kannan <saravanak@google.com>
Bug: 149128810
Test: compile, verify ABI is updated
Test: verify module loads on reference device
Change-Id: I98667e51914277e2009901c327db488b94dfd133
parent 336dfa70
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
menu "Qualcomm SoC drivers"

config QCOM_COMMAND_DB
	bool "Qualcomm Command DB"
	tristate "Qualcomm Command DB"
	depends on ARCH_QCOM || COMPILE_TEST
	depends on OF_RESERVED_MEM
	help
+3 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
/* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
@@ -315,3 +316,5 @@ static int __init cmd_db_device_init(void)
	return platform_driver_register(&cmd_db_dev_driver);
}
arch_initcall(cmd_db_device_init);
MODULE_DESCRIPTION("Qualcomm Command DB");
MODULE_LICENSE("GPL v2");