summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/sort.c
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-05-26 12:05:03 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-04 21:08:10 -0700
commit92562aeec46c965821c59f78e58f1cfe0a47bbaf (patch)
tree8e20b7f7a5ab4196770811d87ff0a7a8b6dbcabf /drivers/staging/bcm/sort.c
parent7f22485def175b9378019b90a1a54cd8f5df0af0 (diff)
downloadop-kernel-dev-92562aeec46c965821c59f78e58f1cfe0a47bbaf.zip
op-kernel-dev-92562aeec46c965821c59f78e58f1cfe0a47bbaf.tar.gz
Staging: bcm: Remove typedef for _S_CLASSIFIER_RULE and call directly.
This patch removes typedef for _S_CLASSIFIER_RULE, changes the name of the struct from _S_CLASSIFIER_RULE to bcm_classifier_rule. In addition, any calls to the following typedefs "S_CLASSIFIER_RULE" are changed to call the struct directly. Signed-off-by: Kevin McKinney <klmckinney1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/sort.c')
-rw-r--r--drivers/staging/bcm/sort.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/sort.c b/drivers/staging/bcm/sort.c
index 79585e4..5f891fa 100644
--- a/drivers/staging/bcm/sort.c
+++ b/drivers/staging/bcm/sort.c
@@ -33,8 +33,8 @@ VOID SortPackInfo(PMINI_ADAPTER Adapter)
static int compare_classifiers(void const *a, void const *b)
{
- S_CLASSIFIER_RULE const *pa = a;
- S_CLASSIFIER_RULE const *pb = b;
+ struct bcm_classifier_rule const *pa = a;
+ struct bcm_classifier_rule const *pb = b;
if (!pa->bUsed || !pb->bUsed)
return 0;
@@ -48,5 +48,5 @@ VOID SortClassifiers(PMINI_ADAPTER Adapter)
DBG_LVL_ALL, "<=======");
sort(Adapter->astClassifierTable, MAX_CLASSIFIERS,
- sizeof(S_CLASSIFIER_RULE), compare_classifiers, NULL);
+ sizeof(struct bcm_classifier_rule), compare_classifiers, NULL);
}
OpenPOWER on IntegriCloud