aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ngene/ngene.h
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2010-03-13 15:10:24 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 11:59:07 -0400
commitcb1c0f8e7099ef5ba20c046df3a3790b5683c573 (patch)
tree7760ce95dd9d38069e53d8281ca6fac2d581641e /drivers/media/dvb/ngene/ngene.h
parent0abf26291d95b09eda44453a0c0655a54b8d90f7 (diff)
V4L/DVB: ngene: split out i2c code into a separate file
Split out the i2c related code from the ngene-core.c into a new file called ngene-i2c.c. This is part of a larger refactoring of the driver in preparation for adding analog support. Note that this patch makes *no* functional change - all I did was cut/paste the code and add the function prototypes to ngene.h as needed. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ngene/ngene.h')
-rw-r--r--drivers/media/dvb/ngene/ngene.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/dvb/ngene/ngene.h b/drivers/media/dvb/ngene/ngene.h
index ca3af5c6238f..0c2d5a7d183a 100644
--- a/drivers/media/dvb/ngene/ngene.h
+++ b/drivers/media/dvb/ngene/ngene.h
@@ -854,6 +854,13 @@ struct ngene_buffer {
854#endif 854#endif
855 855
856 856
857/* Provided by ngene-core.c */
858int ngene_command(struct ngene *dev, struct ngene_command *com);
859int ngene_command_gpio_set(struct ngene *dev, u8 select, u8 level);
860
861/* Provided by ngene-i2c.c */
862int ngene_i2c_init(struct ngene *dev, int dev_nr);
863
857#endif 864#endif
858 865
859/* LocalWords: Endif 866/* LocalWords: Endif