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

Commit 95f38dcf authored by Greg Hackmann's avatar Greg Hackmann Committed by Jin Qian
Browse files

ANDROID: video: goldfishfb: add devicetree bindings



Change-Id: I5f4ba861b981edf39af537001f8ac72202927031
Signed-off-by: default avatarGreg Hackmann <ghackmann@google.com>
parent f3d949fd
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -304,12 +304,19 @@ static int goldfish_fb_remove(struct platform_device *pdev)
	return 0;
}

static const struct of_device_id goldfish_fb_of_match[] = {
	{ .compatible = "google,goldfish-fb", },
	{},
};
MODULE_DEVICE_TABLE(of, goldfish_fb_of_match);

static struct platform_driver goldfish_fb_driver = {
	.probe		= goldfish_fb_probe,
	.remove		= goldfish_fb_remove,
	.driver = {
		.name = "goldfish_fb"
		.name = "goldfish_fb",
		.owner = THIS_MODULE,
		.of_match_table = goldfish_fb_of_match,
	}
};