memshare: Support hot plug detection for memshare

Add support for hot plug detection when memshare driver
is dynamically loaded.

Change-Id: I2f875c06778e4be9ffce234cec48f8fd4b4491a8
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
This commit is contained in:
Manoj Prabhu B 2020-07-24 12:59:19 +05:30
commit e708f3a6ad

View file

@ -932,6 +932,8 @@ static const struct of_device_id memshare_match_table[] = {
{}
};
MODULE_DEVICE_TABLE(of, memshare_match_table);
static struct platform_driver memshare_pdriver = {
.probe = memshare_probe,
.remove = memshare_remove,