|
@@ -254,8 +254,6 @@ void nfcmrvl_chip_halt(struct nfcmrvl_private *priv)
|
|
|
gpio_set_value(priv->config.reset_n_io, 0);
|
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_OF
|
|
|
-
|
|
|
int nfcmrvl_parse_dt(struct device_node *node,
|
|
|
struct nfcmrvl_platform_data *pdata)
|
|
|
{
|
|
@@ -278,16 +276,6 @@ int nfcmrvl_parse_dt(struct device_node *node,
|
|
|
|
|
|
return 0;
|
|
|
}
|
|
|
-
|
|
|
-#else
|
|
|
-
|
|
|
-int nfcmrvl_parse_dt(struct device_node *node,
|
|
|
- struct nfcmrvl_platform_data *pdata)
|
|
|
-{
|
|
|
- return -ENODEV;
|
|
|
-}
|
|
|
-
|
|
|
-#endif
|
|
|
EXPORT_SYMBOL_GPL(nfcmrvl_parse_dt);
|
|
|
|
|
|
MODULE_AUTHOR("Marvell International Ltd.");
|