media: ddbridge: fix build warnings
Fix 2 build warnings. These functions are void, so drop the "return"s. ./drivers/media/pci/ddbridge/ddbridge-io.h: warning: 'return' with a value, in function returning void [enabled by default]: => 50:2, 55:2 Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Daniel Scheller <d.scheller.oss@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Родитель
fe3652858a
Коммит
f3eff2096a
|
@ -47,12 +47,12 @@ static inline void ddbwritel(struct ddb *dev, u32 val, u32 adr)
|
|||
|
||||
static inline void ddbcpyto(struct ddb *dev, u32 adr, void *src, long count)
|
||||
{
|
||||
return memcpy_toio(dev->regs + adr, src, count);
|
||||
memcpy_toio(dev->regs + adr, src, count);
|
||||
}
|
||||
|
||||
static inline void ddbcpyfrom(struct ddb *dev, void *dst, u32 adr, long count)
|
||||
{
|
||||
return memcpy_fromio(dst, dev->regs + adr, count);
|
||||
memcpy_fromio(dst, dev->regs + adr, count);
|
||||
}
|
||||
|
||||
static inline u32 safe_ddbreadl(struct ddb *dev, u32 adr)
|
||||
|
|
Загрузка…
Ссылка в новой задаче