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

Commit 66f3cb7c authored by Stephen Rothwell's avatar Stephen Rothwell Committed by David S. Miller
Browse files

[SPARC64] constify of_get_property return: include

parent ccf0dec6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -549,7 +549,7 @@ static int __init ebus_fdthree_p(struct linux_ebus_device *edev)
	if (!strcmp(edev->prom_node->name, "fdthree"))
		return 1;
	if (!strcmp(edev->prom_node->name, "floppy")) {
		char *compat;
		const char *compat;

		compat = of_get_property(edev->prom_node,
					 "compatible", NULL);
@@ -661,7 +661,7 @@ static unsigned long __init sun_floppy_init(void)
		struct linux_ebus_device *edev = NULL;
		unsigned long config = 0;
		void __iomem *auxio_reg;
		char *state_prop;
		const char *state_prop;

		for_each_ebus(ebus) {
			for_each_ebusdev(edev, ebus) {
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ static int ebus_ecpp_p(struct linux_ebus_device *edev)
	if (!strcmp(edev->prom_node->name, "ecpp"))
		return 1;
	if (!strcmp(edev->prom_node->name, "parallel")) {
		char *compat;
		const char *compat;

		compat = of_get_property(edev->prom_node,
					 "compatible", NULL);