ARM: sc8830: fdl: remove build warnings
[profile/mobile/platform/kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-sc8830 / fdl_channel.h
index 8ff753b..5f8ed48 100644 (file)
@@ -5,7 +5,7 @@
 typedef struct FDL_ChannelHandler
 {
     int (*Open) (struct FDL_ChannelHandler *channel, unsigned int  baudrate);
-    int (*Read) (struct FDL_ChannelHandler *channel, const unsigned char *buf, unsigned int  len);
+    int (*Read) (struct FDL_ChannelHandler *channel, unsigned char *buf, unsigned int  len);
     char (*GetChar) (struct FDL_ChannelHandler *channel);
     int (*GetSingleChar) (struct FDL_ChannelHandler *channel);
     int (*Write) (struct FDL_ChannelHandler *channel, const unsigned char *buf, unsigned int  len);
@@ -15,6 +15,6 @@ typedef struct FDL_ChannelHandler
     void   *priv;
 } FDL_ChannelHandler_T;
 
-struct FDL_ChannelHandler *FDL_ChannelGet();
+struct FDL_ChannelHandler *FDL_ChannelGet(void);
 
-#endif
\ No newline at end of file
+#endif