diff options
Diffstat (limited to 'drivers/net/wireless/prism54/oid_mgt.c')
-rw-r--r-- | drivers/net/wireless/prism54/oid_mgt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/prism54/oid_mgt.c b/drivers/net/wireless/prism54/oid_mgt.c index e6cf9df2c206..42780320cd5c 100644 --- a/drivers/net/wireless/prism54/oid_mgt.c +++ b/drivers/net/wireless/prism54/oid_mgt.c | |||
@@ -16,6 +16,8 @@ | |||
16 | * | 16 | * |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/kernel.h> | ||
20 | |||
19 | #include "prismcompat.h" | 21 | #include "prismcompat.h" |
20 | #include "islpci_dev.h" | 22 | #include "islpci_dev.h" |
21 | #include "islpci_mgt.h" | 23 | #include "islpci_mgt.h" |
@@ -692,7 +694,7 @@ mgt_update_addr(islpci_private *priv) | |||
692 | return ret; | 694 | return ret; |
693 | } | 695 | } |
694 | 696 | ||
695 | #define VEC_SIZE(a) (sizeof(a)/sizeof(a[0])) | 697 | #define VEC_SIZE(a) ARRAY_SIZE(a) |
696 | 698 | ||
697 | int | 699 | int |
698 | mgt_commit(islpci_private *priv) | 700 | mgt_commit(islpci_private *priv) |