diff options
| author | Philippe Langlais <philippe.langlais@stericsson.com> | 2011-04-03 14:12:48 +0200 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 15:14:45 +0200 |
| commit | 50fd6a7495baca957da6983d93303f887a17a4dc (patch) | |
| tree | bfa5f4b02718127409c3ef05fef6819da71308a4 /drivers/spi | |
| parent | 7cdb5a4160badad6f6bd63d3dcf343330838aa64 (diff) | |
ux500: Fix warnings
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
Diffstat (limited to 'drivers/spi')
| -rw-r--r-- | drivers/spi/stm_msp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/stm_msp.c b/drivers/spi/stm_msp.c index 1fdcdc1f325..65dc316b37b 100644 --- a/drivers/spi/stm_msp.c +++ b/drivers/spi/stm_msp.c @@ -1669,7 +1669,7 @@ err_first_setup: return status; } -static int __init stm_msp_probe(struct amba_device *adev, struct amba_id *id) +static int __init stm_msp_probe(struct amba_device *adev, const struct amba_id *id) { struct device *dev = &adev->dev; struct stm_msp_controller *platform_info = adev->dev.platform_data; @@ -1900,7 +1900,7 @@ static struct amba_id stm_msp_ids[] = { }, }; -static struct amba_driver stm_msp_driver = { +static struct amba_driver __refdata stm_msp_driver = { .drv = { .name = "MSP", }, |
