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

Commit b025eeb4 authored by Anmolpreet Kaur's avatar Anmolpreet Kaur
Browse files

crypto: msm: Add DLKM support for crypto modules



Crypto modules on various targets will be available as
dynamic loadable modules. Add changes to fix compilation
issues faced while changing the same.

Change-Id: Icaf16ac04befb544e88c918cc89e68014d0d4c7b
Signed-off-by: default avatarAnmolpreet Kaur <anmolpre@codeaurora.org>
parent 7575d5f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
obj-$(CONFIG_CRYPTO_DEV_QCOM_MSM_QCE) += qce50.o
obj-$(CONFIG_CRYPTO_DEV_QCEDEV) += qcedev.o
obj-$(CONFIG_CRYPTO_DEV_QCEDEV) += qcedev_smmu.o
qcedevice-objs := qcedev_smmu.o qcedev.o
obj-$(CONFIG_CRYPTO_DEV_QCEDEV) += qcedevice.o
obj-$(CONFIG_CRYPTO_DEV_QCRYPTO) += qcrypto.o
obj-$(CONFIG_CRYPTO_DEV_OTA_CRYPTO) += ota_crypto.o
obj-$(CONFIG_CRYPTO_DEV_QCOM_ICE) += ice.o
+2 −2
Original line number Diff line number Diff line
@@ -65,14 +65,14 @@ static dev_t qcedev_device_no;
static struct class *driver_class;
static struct device *class_dev;

MODULE_DEVICE_TABLE(of, qcedev_match);

static const struct of_device_id qcedev_match[] = {
	{	.compatible = "qcom,qcedev"},
	{	.compatible = "qcom,qcedev,context-bank"},
	{}
};

MODULE_DEVICE_TABLE(of, qcedev_match);

static int qcedev_control_clocks(struct qcedev_control *podev, bool enable)
{
	unsigned int control_flag;