You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
2.1 KiB
52 lines
2.1 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../slmodem/linux-2.6.17.patch |
|
# Copyright (C) 2006 The T2 SDE Project |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This patch file is dual-licensed. It is available under the license the |
|
# patched project is licensed under, as long as it is an OpenSource license |
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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. |
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
diff -Nur slmodem-2.9.11-20051101-orig/drivers/amrmo_init.c slmodem-2.9.11-20051101/drivers/amrmo_init.c |
|
--- slmodem-2.9.11-20051101-orig/drivers/amrmo_init.c 2005-10-09 21:14:13.000000000 +0000 |
|
+++ slmodem-2.9.11-20051101/drivers/amrmo_init.c 2006-07-01 16:42:53.000000000 +0000 |
|
@@ -701,7 +701,7 @@ |
|
* module stuff |
|
*/ |
|
|
|
-MODULE_PARM(debug,"i"); |
|
+module_param(debug,bool,0); |
|
MODULE_PARM_DESC(debug,"debug level: 0-3 (default=0)"); |
|
|
|
MODULE_AUTHOR("Smart Link Ltd."); |
|
diff -Nur slmodem-2.9.11-20051101-orig/drivers/old_st7554.c slmodem-2.9.11-20051101/drivers/old_st7554.c |
|
--- slmodem-2.9.11-20051101-orig/drivers/old_st7554.c 2004-09-14 15:44:14.000000000 +0000 |
|
+++ slmodem-2.9.11-20051101/drivers/old_st7554.c 2006-07-01 16:43:46.000000000 +0000 |
|
@@ -74,7 +74,7 @@ |
|
#define MY_MAJOR 243 |
|
|
|
static int debug = 0; |
|
-MODULE_PARM(debug,"i"); |
|
+module_param(debug,bool,0); |
|
MODULE_PARM_DESC(debug,"Debug level: 0-3 (default=0)"); |
|
|
|
/* st7554 IDs */ |
|
diff -Nur slmodem-2.9.11-20051101-orig/drivers/st7554.c slmodem-2.9.11-20051101/drivers/st7554.c |
|
--- slmodem-2.9.11-20051101-orig/drivers/st7554.c 2005-11-01 15:31:45.000000000 +0000 |
|
+++ slmodem-2.9.11-20051101/drivers/st7554.c 2006-07-01 16:43:26.000000000 +0000 |
|
@@ -76,7 +76,7 @@ |
|
#define USB_DBG_URB(fmt...) // USB_DBG(fmt) |
|
|
|
static int debug = 0; |
|
-MODULE_PARM(debug,"i"); |
|
+module_param(debug,bool,0); |
|
MODULE_PARM_DESC(debug,"Debug level: 0-3 (default=0)"); |
|
|
|
/* st7554 IDs */
|
|
|