summaryrefslogtreecommitdiffstats
path: root/drivers/block/rsxx/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/rsxx/config.c')
-rw-r--r--drivers/block/rsxx/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/rsxx/config.c b/drivers/block/rsxx/config.c
index c8829cd4db11..a295e7e9ee41 100644
--- a/drivers/block/rsxx/config.c
+++ b/drivers/block/rsxx/config.c
@@ -31,7 +31,7 @@
static void initialize_config(void *config)
{
- struct rsxx_card_cfg *cfg = (struct rsxx_card_cfg *) config;
+ struct rsxx_card_cfg *cfg = config;
cfg->hdr.version = RSXX_CFG_VERSION;
@@ -97,7 +97,7 @@ static void config_data_cpu_to_le(struct rsxx_card_cfg *cfg)
/*----------------- Config Operations ------------------*/
-int rsxx_save_config(struct rsxx_cardinfo *card)
+static int rsxx_save_config(struct rsxx_cardinfo *card)
{
struct rsxx_card_cfg cfg;
int st;
OpenPOWER on IntegriCloud