summaryrefslogtreecommitdiff
path: root/lwis_device_slc.c
diff options
context:
space:
mode:
authorEdmond Chung <edmondchung@google.com>2020-08-31 20:43:12 -0700
committerJ. Avila <elavila@google.com>2020-09-22 19:20:09 +0000
commit0c2d3f6abdba78cbb200c8098adc4045fbd2321d (patch)
tree5603baf0524c7d70ddcdd96f7d5b88d832eaead9 /lwis_device_slc.c
parentc0fc4251b99305de62a2cd2155e6be723a43d72f (diff)
downloadlwis-0c2d3f6abdba78cbb200c8098adc4045fbd2321d.tar.gz
Device: Remove __init attribute from probe functions.
This fixes compilation in debug_memory configuration. Bug: 167308784 Bug: 169169020 Signed-off-by: Edmond Chung <edmondchung@google.com> Change-Id: I01ed8f2e0e4ee79357c297f1c84654c107e5e823 (cherry picked from commit d18f9e30dc9b9f38695e4413bdffcd623b52cfeb) Signed-off-by: J. Avila <elavila@google.com>
Diffstat (limited to 'lwis_device_slc.c')
-rw-r--r--lwis_device_slc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lwis_device_slc.c b/lwis_device_slc.c
index 20c44ef..937ef46 100644
--- a/lwis_device_slc.c
+++ b/lwis_device_slc.c
@@ -178,7 +178,7 @@ int lwis_slc_buffer_free(struct lwis_device *lwis_dev, int fd)
return 0;
}
-static int __init lwis_slc_device_probe(struct platform_device *plat_dev)
+static int lwis_slc_device_probe(struct platform_device *plat_dev)
{
int ret = 0;
struct lwis_slc_device *slc_dev;