Commit 05ef2f3d authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman
parent 59a1d562
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
#define ICOM_DRIVER_NAME "icom" #define ICOM_DRIVER_NAME "icom"
#define NR_PORTS 128 #define NR_PORTS 128
#define BAUD_TABLE_LIMIT ((sizeof(icom_acfg_baud)/sizeof(int)) - 1)
static int icom_acfg_baud[] = { static int icom_acfg_baud[] = {
300, 300,
600, 600,
...@@ -71,6 +70,7 @@ static int icom_acfg_baud[] = { ...@@ -71,6 +70,7 @@ static int icom_acfg_baud[] = {
307200, 307200,
460800, 460800,
}; };
#define BAUD_TABLE_LIMIT (ARRAY_SIZE(icom_acfg_baud) - 1)
struct icom_regs { struct icom_regs {
u32 control; /* Adapter Control Register */ u32 control; /* Adapter Control Register */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment