mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
rk1000: fix compilation warning
This commit is contained in:
@@ -106,7 +106,7 @@ int rk1000_i2c_recv(const u8 addr, const u8 reg, const char *buf)
|
||||
return (ret == 2) ? 0 : -1;
|
||||
}
|
||||
|
||||
static ssize_t rk1000_show(struct kobject *kobj, struct kobj_attribute *attr,char *buf)
|
||||
static ssize_t rk1000_show(struct device *dev, struct device_attribute *attr, char *buf)
|
||||
{
|
||||
int ret=-1;
|
||||
int i=0;
|
||||
|
||||
@@ -21,7 +21,7 @@ int rk1000_tv_ntsc_init(void)
|
||||
int ret;
|
||||
|
||||
if(cvbsformat>=0){
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
||||
for (i = 0; i < sizeof(tv_encoder_regs); i++) {
|
||||
@@ -53,7 +53,7 @@ int rk1000_tv_pal_init(void)
|
||||
int ret;
|
||||
|
||||
if(cvbsformat>=0){
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
||||
for (i = 0; i < sizeof(tv_encoder_regs); i++) {
|
||||
|
||||
Reference in New Issue
Block a user