summaryrefslogtreecommitdiff
path: root/wctdm24xxp/GpakCust.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-08 17:04:11 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-12-08 17:04:11 +0000
commitdb2602ee74c907582858c1225bb0fffffe604a00 (patch)
treef08c566c96008fdca60d6231c653f4804ad5e263 /wctdm24xxp/GpakCust.c
parentb6c017d1b25f9621fd6738419b6cd1377ca6eb3e (diff)
clean up firmware handling across wct4xxp, wctc4xxp, wctdm24xxp and wcte12xp drivers to use consistent methods
add non-hotplug firmware loading support to wctdm24xxp and wcte12xp add license and copyright headers to various files that did not have them clean up header inclusion in some files git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3365 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm24xxp/GpakCust.c')
-rw-r--r--wctdm24xxp/GpakCust.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/wctdm24xxp/GpakCust.c b/wctdm24xxp/GpakCust.c
index aefb406..4005e97 100644
--- a/wctdm24xxp/GpakCust.c
+++ b/wctdm24xxp/GpakCust.c
@@ -17,11 +17,14 @@
*
*/
-#include "GpakCust.h"
-#include "wctdm24xxp.h"
+#include <linux/version.h>
#include <linux/delay.h>
#include <asm/semaphore.h>
+#include "zaptel.h"
+#include "wctdm24xxp.h"
+#include "GpakCust.h"
+
char vpm150mtone_to_zaptone(GpakToneCodes_t tone)
{
switch (tone) {
@@ -386,5 +389,7 @@ int gpakReadFile(
fw->offset += count;
return count;
+#else
+ return 0;
#endif
}