dmaengine: imx: Constify platform_device_id

The platform_device_id is not modified by the driver and core uses it as
const.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
Krzysztof Kozlowski
2015-05-02 00:57:46 +09:00
committed by Vinod Koul
szülő 577d2e0629
commit afe7cded99
2 fájl változott, egészen pontosan 2 új sor hozzáadva és 2 régi sor törölve

Fájl megtekintése

@@ -420,7 +420,7 @@ static struct sdma_driver_data sdma_imx6q = {
.script_addrs = &sdma_script_imx6q,
};
static struct platform_device_id sdma_devtypes[] = {
static const struct platform_device_id sdma_devtypes[] = {
{
.name = "imx25-sdma",
.driver_data = (unsigned long)&sdma_imx25,