tty: serial: tegra: Fix section mismatch warnings
Pradeep Kumar [Mon, 14 May 2012 12:26:00 +0000 (17:26 +0530)]
Fix section mismatch warnings derived from
tegra_uart_platform_driver.

Bug 984436

Change-Id: Iec737f28b0a7ce3ae521ad788e6ca5a101675c52
Signed-off-by: Pradeep Kumar <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/102237
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

drivers/tty/serial/tegra_hsuart.c

index 4169cbc..8b65e20 100644 (file)
@@ -1638,7 +1638,7 @@ int tegra_uart_is_tx_empty(struct uart_port *uport)
        return tegra_tx_empty(uport);
 }
 
-static struct platform_driver tegra_uart_platform_driver = {
+static struct platform_driver tegra_uart_platform_driver __refdata= {
        .probe          = tegra_uart_probe,
        .remove         = __devexit_p(tegra_uart_remove),
        .suspend        = tegra_uart_suspend,