From fe1ec523e60681ee2dab7014e48c6f2774334284 Mon Sep 17 00:00:00 2001 From: hwg Date: Tue, 21 May 2013 10:33:11 +0800 Subject: [PATCH] modify compile warning for rkwifi_sys_iface.c --- drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c b/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c index b36efa2d8c77..2aece1f541e2 100755 --- a/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c +++ b/drivers/net/wireless/wifi_sys/rkwifi_sys_iface.c @@ -195,7 +195,7 @@ static ssize_t wifi_pcba_read(struct class *cls, char *_buf) } #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 37)) -static ssize_t wifi_pcba_write(struct class *cls, struct class_attribute *attr, char *_buf, size_t _count) +static ssize_t wifi_pcba_write(struct class *cls, struct class_attribute *attr, const char *_buf, size_t _count) #else static ssize_t wifi_pcba_write(struct class *cls, char *_buf, size_t _count) #endif -- 2.34.1