diff options
author | Ezequiel GarcĂa <elezegarcia@gmail.com> | 2012-03-26 08:13:31 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-04-10 19:40:26 -0400 |
commit | 37e65dceccf1b556afc17328fbdd782693807af9 (patch) | |
tree | a9faf38e816e9b662245b0658b0d2b887e5997b4 /drivers/media/video/em28xx | |
parent | 4ae2e594b70b04fb90fd5fef96a996f42ecea7d5 (diff) |
[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: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c index fd54c807cf29..5717bdee8f1b 100644 --- a/drivers/media/video/em28xx/em28xx-core.c +++ b/drivers/media/video/em28xx/em28xx-core.c | |||
@@ -139,6 +139,7 @@ int em28xx_read_reg(struct em28xx *dev, u16 reg) | |||
139 | { | 139 | { |
140 | return em28xx_read_reg_req(dev, USB_REQ_GET_STATUS, reg); | 140 | return em28xx_read_reg_req(dev, USB_REQ_GET_STATUS, reg); |
141 | } | 141 | } |
142 | EXPORT_SYMBOL_GPL(em28xx_read_reg); | ||
142 | 143 | ||
143 | /* | 144 | /* |
144 | * em28xx_write_regs_req() | 145 | * em28xx_write_regs_req() |
@@ -205,6 +206,7 @@ int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len) | |||
205 | 206 | ||
206 | return rc; | 207 | return rc; |
207 | } | 208 | } |
209 | EXPORT_SYMBOL_GPL(em28xx_write_regs); | ||
208 | 210 | ||
209 | /* Write a single register */ | 211 | /* Write a single register */ |
210 | int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val) | 212 | 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 | 241 | ||
240 | return em28xx_write_regs(dev, reg, &newval, 1); | 242 | return em28xx_write_regs(dev, reg, &newval, 1); |
241 | } | 243 | } |
244 | EXPORT_SYMBOL_GPL(em28xx_write_reg_bits); | ||
242 | 245 | ||
243 | /* | 246 | /* |
244 | * em28xx_is_ac97_ready() | 247 | * em28xx_is_ac97_ready() |