Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: winbond: Convert typedef struct _STRUCT_SELECTOR

This patch converts the declaration typedef struct _STRUCT_SELECTOR
to struct struct_selector and also the places where it was used.

Signed-off-by: Sankar P <sankar.curiosity@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Sankar P and committed by
Greg Kroah-Hartman
2de97533 ef1566e2

+9 -9
+9 -9
drivers/staging/winbond/mac_structures.h
··· 436 436 #define OUI_CIPHER_CCMP 0x04 437 437 #define OUI_CIPHER_WEP_104 0x05 438 438 439 - typedef struct _SUITE_SELECTOR_ 439 + struct suite_selector 440 440 { 441 441 union 442 442 { ··· 447 447 u8 Type; 448 448 }SuitSelector; 449 449 }; 450 - }SUITE_SELECTOR; 450 + }; 451 451 452 452 //-- WPA -- 453 453 struct RSN_Information_Element 454 454 { 455 455 u8 Element_ID; 456 456 u8 Length; 457 - SUITE_SELECTOR OuiWPAAdditional;//WPA version 2.0 additional field, and should be 00:50:F2:01 457 + struct suite_selector OuiWPAAdditional; /* WPA version 2.0 additional field, and should be 00:50:F2:01 */ 458 458 u16 Version; 459 - SUITE_SELECTOR GroupKeySuite; 459 + struct suite_selector GroupKeySuite; 460 460 u16 PairwiseKeySuiteCount; 461 - SUITE_SELECTOR PairwiseKeySuite[1]; 461 + struct suite_selector PairwiseKeySuite[1]; 462 462 }__attribute__ ((packed)); 463 463 struct RSN_Auth_Sub_Information_Element 464 464 { 465 465 u16 AuthKeyMngtSuiteCount; 466 - SUITE_SELECTOR AuthKeyMngtSuite[1]; 466 + struct suite_selector AuthKeyMngtSuite[1]; 467 467 }__attribute__ ((packed)); 468 468 469 469 //-- WPA2 -- ··· 508 508 u8 Element_ID; 509 509 u8 Length; 510 510 u16 Version; 511 - SUITE_SELECTOR GroupKeySuite; 511 + struct suite_selector GroupKeySuite; 512 512 u16 PairwiseKeySuiteCount; 513 - SUITE_SELECTOR PairwiseKeySuite[1]; 513 + struct suite_selector PairwiseKeySuite[1]; 514 514 515 515 }__attribute__ ((packed)); 516 516 517 517 struct WPA2_RSN_Auth_Sub_Information_Element 518 518 { 519 519 u16 AuthKeyMngtSuiteCount; 520 - SUITE_SELECTOR AuthKeyMngtSuite[1]; 520 + struct suite_selector AuthKeyMngtSuite[1]; 521 521 }__attribute__ ((packed)); 522 522 523 523