Commit 37e65dce authored by Ezequiel García's avatar Ezequiel García Committed by Mauro Carvalho Chehab

[media] em28xx: Export em28xx_[read,write]_reg functions as SYMBOL_GPL

Those functions will be needed by em28xx-input module, to be
added on the next patches.
Signed-off-by: default avatarEzequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4ae2e594
...@@ -139,6 +139,7 @@ int em28xx_read_reg(struct em28xx *dev, u16 reg) ...@@ -139,6 +139,7 @@ int em28xx_read_reg(struct em28xx *dev, u16 reg)
{ {
return em28xx_read_reg_req(dev, USB_REQ_GET_STATUS, reg); return em28xx_read_reg_req(dev, USB_REQ_GET_STATUS, reg);
} }
EXPORT_SYMBOL_GPL(em28xx_read_reg);
/* /*
* em28xx_write_regs_req() * em28xx_write_regs_req()
...@@ -205,6 +206,7 @@ int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len) ...@@ -205,6 +206,7 @@ int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len)
return rc; return rc;
} }
EXPORT_SYMBOL_GPL(em28xx_write_regs);
/* Write a single register */ /* Write a single register */
int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val) int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val)
...@@ -239,6 +241,7 @@ int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val, ...@@ -239,6 +241,7 @@ int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val,
return em28xx_write_regs(dev, reg, &newval, 1); return em28xx_write_regs(dev, reg, &newval, 1);
} }
EXPORT_SYMBOL_GPL(em28xx_write_reg_bits);
/* /*
* em28xx_is_ac97_ready() * em28xx_is_ac97_ready()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment