summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/siano/smsendian.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-06-14 16:36:01 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-13 23:52:52 -0300
commit0013ca8c52ba7bb1030ed75d6df7e58af0314018 (patch)
tree31672d38162cff3dee895d1d815a8dd85ba67d5d /drivers/media/common/siano/smsendian.h
parented0c8b5465d6cec5458d9a3041a5167d83f40fdb (diff)
downloadblackbird-op-linux-0013ca8c52ba7bb1030ed75d6df7e58af0314018.tar.gz
blackbird-op-linux-0013ca8c52ba7bb1030ed75d6df7e58af0314018.zip
[media] siano: break it into common, mmc and usb
siano is, in fact, 2 drivers: one for MMC and one for USB, plus a common bus-independent code. Break it accordingly. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/siano/smsendian.h')
-rw-r--r--drivers/media/common/siano/smsendian.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/media/common/siano/smsendian.h b/drivers/media/common/siano/smsendian.h
new file mode 100644
index 000000000000..1624d6fd367b
--- /dev/null
+++ b/drivers/media/common/siano/smsendian.h
@@ -0,0 +1,32 @@
+/****************************************************************
+
+Siano Mobile Silicon, Inc.
+MDTV receiver kernel modules.
+Copyright (C) 2006-2009, Uri Shkolnik
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+****************************************************************/
+
+#ifndef __SMS_ENDIAN_H__
+#define __SMS_ENDIAN_H__
+
+#include <asm/byteorder.h>
+
+extern void smsendian_handle_tx_message(void *buffer);
+extern void smsendian_handle_rx_message(void *buffer);
+extern void smsendian_handle_message_header(void *msg);
+
+#endif /* __SMS_ENDIAN_H__ */
+
OpenPOWER on IntegriCloud