Skip to content

Instantly share code, notes, and snippets.

@ObserverHerb
Created September 9, 2017 23:01
Show Gist options
  • Save ObserverHerb/c956a17ed43e8aa49015cf7ebb277721 to your computer and use it in GitHub Desktop.
Save ObserverHerb/c956a17ed43e8aa49015cf7ebb277721 to your computer and use it in GitHub Desktop.
Change acpi_device_fwnode_ops to EXPORT_SYMBOL for nvidia drivers
diff --git a/drivers/acpi/property.c b/drivers/acpi/property.c
index c1c216163de3..23693637f17b 100644
--- a/drivers/acpi/property.c
+++ b/drivers/acpi/property.c
@@ -1288,7 +1288,7 @@ static int acpi_fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode,
.graph_get_port_parent = acpi_fwnode_get_parent, \
.graph_parse_endpoint = acpi_fwnode_graph_parse_endpoint, \
}; \
- EXPORT_SYMBOL_GPL(ops)
+ EXPORT_SYMBOL(ops)
DECLARE_ACPI_FWNODE_OPS(acpi_device_fwnode_ops);
DECLARE_ACPI_FWNODE_OPS(acpi_data_fwnode_ops);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment