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

Commit 5fc3dbc4 authored by David Woodhouse's avatar David Woodhouse
Browse files

[MTD] Use __symbol_get() instead of symbol_get() in NOR chip probe

parent dcb6592d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -212,10 +212,10 @@ static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map,

	sprintf(probename, "cfi_cmdset_%4.4X", type);

	probe_function = (void *)symbol_get(probename);
	probe_function = __symbol_get(probename);
	if (!probe_function) {
		request_module(probename);
		probe_function = (void *)symbol_get(probename);
		probe_function = __symbol_get(probename);
	}

	if (probe_function) {