ANDROID: ion: fix export symbol type

In commit d872160f11 ("staging: ion: make system and contig heaps
modular") a new symbol was exported, but it should have been set as a
_GPL symbol.

Fix this up by properly changing the export type.

Bug: 133508579
Cc: Sandeep Patil <sspatil@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I6595d3a3dc12698c16e514d945256e082b942652
This commit is contained in:
Greg Kroah-Hartman
2020-04-30 12:10:29 +02:00
parent 43fd3e30ce
commit 00bf2bf979

View File

@@ -419,7 +419,7 @@ void ion_device_remove_heap(struct ion_heap *heap)
dev->heap_cnt--;
up_write(&dev->lock);
}
EXPORT_SYMBOL(ion_device_remove_heap);
EXPORT_SYMBOL_GPL(ion_device_remove_heap);
static ssize_t
total_heaps_kb_show(struct kobject *kobj, struct kobj_attribute *attr,