diff options
| -rw-r--r-- | drivers/char/synclink_gt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 4561ce2fba6d..334cf5c8c8b6 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c | |||
| @@ -4845,7 +4845,7 @@ static int register_test(struct slgt_info *info) | |||
| 4845 | { | 4845 | { |
| 4846 | static unsigned short patterns[] = | 4846 | static unsigned short patterns[] = |
| 4847 | {0x0000, 0xffff, 0xaaaa, 0x5555, 0x6969, 0x9696}; | 4847 | {0x0000, 0xffff, 0xaaaa, 0x5555, 0x6969, 0x9696}; |
| 4848 | static unsigned int count = sizeof(patterns)/sizeof(patterns[0]); | 4848 | static unsigned int count = ARRAY_SIZE(patterns); |
| 4849 | unsigned int i; | 4849 | unsigned int i; |
| 4850 | int rc = 0; | 4850 | int rc = 0; |
| 4851 | 4851 | ||
