summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/Adapter.h
diff options
context:
space:
mode:
authorKevin McKinney <klmckinney1@gmail.com>2012-05-26 16:04:54 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-05 04:06:34 (GMT)
commitbe3099957ca9d465a46b83d08c1cd9617a461078 (patch)
tree65c6d2396206989aa5ea9e07349655ab35d83d2c /drivers/staging/bcm/Adapter.h
parent76cc6f92039208e04291af751c5d46568aa24162 (diff)
downloadlinux-fsl-qoriq-be3099957ca9d465a46b83d08c1cd9617a461078.tar.xz
Staging: bcm: Remove typedef for _DDR_SETTING and call directly.
This patch removes the typedef for _DDR_SETTING, changes the name of the struct from _DDR_SETTING, to bcm_ddr_setting. In addition, any calls to the following typedefs "DDR_SET_NODE and *PDDR_SET_NODE" 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/Adapter.h')
-rw-r--r--drivers/staging/bcm/Adapter.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h
index a67022f..9b78856 100644
--- a/drivers/staging/bcm/Adapter.h
+++ b/drivers/staging/bcm/Adapter.h
@@ -549,11 +549,10 @@ typedef struct _cntl_pkt {
} cntl_pkt;
typedef LINK_REQUEST CONTROL_MESSAGE;
-typedef struct _DDR_SETTING {
+struct bcm_ddr_setting {
UINT ulRegAddress;
UINT ulRegValue;
-} DDR_SETTING, *PDDR_SETTING;
-typedef DDR_SETTING DDR_SET_NODE, *PDDR_SET_NODE;
+};
int InitAdapter(PMINI_ADAPTER psAdapter);
/* =====================================================================