forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 e636c8d336489bf3eed5878299e6cc045bbad077
kernel/drivers/staging/greybus/raw.c
....@@ -13,8 +13,7 @@
1313 #include <linux/fs.h>
1414 #include <linux/idr.h>
1515 #include <linux/uaccess.h>
16
-
17
-#include "greybus.h"
16
+#include <linux/greybus.h>
1817
1918 struct gb_raw {
2019 struct gb_connection *connection;
....@@ -30,7 +29,7 @@
3029 struct raw_data {
3130 struct list_head entry;
3231 u32 len;
33
- u8 data[0];
32
+ u8 data[];
3433 };
3534
3635 static struct class *raw_class;