pmaports/device/testing/linux-samsung-gta7litewifi/fix_struct_names.patch
hexaheximal 4daab00319
samsung-gta7litewifi: new device (MR 4627)
[ci:skip-build] already built successfully in CI
2023-12-19 01:57:14 -08:00

21 lines
570 B
Diff

--- a/drivers/staging/android/mtk_ion/mtk/ion_drv.h
+++ b/drivers/staging/android/mtk_ion/mtk/ion_drv.h
@@ -10,6 +10,8 @@
#include <ion.h>
+#define ion_phys_addr_t phys_addr_t
+
#define BACKTRACE_SIZE 10
#define ION_RECORD_TOTAL_SIZE_SUPPORT
--- a/drivers/staging/android/mtk_ion/ion.h
+++ b/drivers/staging/android/mtk_ion/ion.h
@@ -181,6 +181,6 @@
* holding a reference.
*/
int ion_phys(struct ion_client *client, struct ion_handle *handle,
- ion_phys_addr_t *addr, size_t *len);
+ phys_addr_t *addr, size_t *len);
#endif /* _LINUX_ION_H */