From: Ezequiel GarcĂ­a Date: Mon, 26 Mar 2012 12:13:31 +0000 (-0300) Subject: [media] em28xx: Export em28xx_[read,write]_reg functions as SYMBOL_GPL X-Git-Tag: firefly_0821_release~3680^2~275^2~2475 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=37e65dceccf1b556afc17328fbdd782693807af9;p=firefly-linux-kernel-4.4.55.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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) { return em28xx_read_reg_req(dev, USB_REQ_GET_STATUS, reg); } +EXPORT_SYMBOL_GPL(em28xx_read_reg); /* * em28xx_write_regs_req() @@ -205,6 +206,7 @@ int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len) return rc; } +EXPORT_SYMBOL_GPL(em28xx_write_regs); /* Write a single register */ 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, return em28xx_write_regs(dev, reg, &newval, 1); } +EXPORT_SYMBOL_GPL(em28xx_write_reg_bits); /* * em28xx_is_ac97_ready()