All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v1 0/1]drivers: net: xgene: Fix the ACPI support for RGMII/SGMII0/XFI ethernet interfaces of APM X-Gene SoC.
@ 2015-06-24  8:21 Suman Tripathi
  2015-06-24  8:21 ` [PATCH net-next v1 1/1] drivers: net: xgene: Fix the compilation error "error: implicit declaration of function 'acpi_evaluate_integer'" in APM X-Gene ethernet driver Suman Tripathi
  0 siblings, 1 reply; 4+ messages in thread
From: Suman Tripathi @ 2015-06-24  8:21 UTC (permalink / raw)
  To: davem, netdev
  Cc: linux-arm-kernel, kchudgar, patches, isubramanian, Suman Tripathi

v1 change:
 * Fix the compilation error.
 * Drop other patches as it got accepted.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: Suman Tripathi <stripathi@apm.com>
---

Suman Tripathi (1):
  drivers: net: xgene: Fix the compilation error "error: implicit
    declaration of function 'acpi_evaluate_integer'" in APM X-Gene
    ethernet driver.

 drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 2 ++
 1 file changed, 2 insertions(+)

--
1.8.2.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH net-next v1 1/1] drivers: net: xgene: Fix the compilation error "error: implicit declaration of function 'acpi_evaluate_integer'" in APM X-Gene ethernet driver.
  2015-06-24  8:21 [PATCH net-next v1 0/1]drivers: net: xgene: Fix the ACPI support for RGMII/SGMII0/XFI ethernet interfaces of APM X-Gene SoC Suman Tripathi
@ 2015-06-24  8:21 ` Suman Tripathi
  2015-07-01  7:03     ` Suman Tripathi
  0 siblings, 1 reply; 4+ messages in thread
From: Suman Tripathi @ 2015-06-24  8:21 UTC (permalink / raw)
  To: davem, netdev
  Cc: linux-arm-kernel, kchudgar, patches, isubramanian, Suman Tripathi

This patch guards the acpi_evaluate_interger function as it fails
the build for NON_ACPI CONFIG.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: Suman Tripathi <stripathi@apm.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
---
 drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
index 4e83d4c..70b9ef6 100644
--- a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
+++ b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
@@ -871,6 +871,7 @@ static const struct net_device_ops xgene_ndev_ops = {
 	.ndo_set_mac_address = xgene_enet_set_mac_address,
 };

+#ifdef CONFIG_ACPI
 static int xgene_get_port_id_acpi(struct device *dev,
 				  struct xgene_enet_pdata *pdata)
 {
@@ -886,6 +887,7 @@ static int xgene_get_port_id_acpi(struct device *dev,

 	return 0;
 }
+#endif

 static int xgene_get_port_id_dt(struct device *dev, struct xgene_enet_pdata *pdata)
 {
--
1.8.2.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next v1 1/1] drivers: net: xgene: Fix the compilation error "error: implicit declaration of function 'acpi_evaluate_integer'" in APM X-Gene ethernet driver.
  2015-06-24  8:21 ` [PATCH net-next v1 1/1] drivers: net: xgene: Fix the compilation error "error: implicit declaration of function 'acpi_evaluate_integer'" in APM X-Gene ethernet driver Suman Tripathi
@ 2015-07-01  7:03     ` Suman Tripathi
  0 siblings, 0 replies; 4+ messages in thread
From: Suman Tripathi @ 2015-07-01  7:03 UTC (permalink / raw)
  To: davem, netdev
  Cc: linux-arm-kernel, Keyur Chudgar, patches, Iyappan Subramanian,
	Suman Tripathi

Hi ,

Any comments on this patch .

On Wed, Jun 24, 2015 at 1:51 PM, Suman Tripathi <stripathi@apm.com> wrote:
> This patch guards the acpi_evaluate_interger function as it fails
> the build for NON_ACPI CONFIG.
>
> Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
> Signed-off-by: Suman Tripathi <stripathi@apm.com>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> ---
>  drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
> index 4e83d4c..70b9ef6 100644
> --- a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
> +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
> @@ -871,6 +871,7 @@ static const struct net_device_ops xgene_ndev_ops = {
>         .ndo_set_mac_address = xgene_enet_set_mac_address,
>  };
>
> +#ifdef CONFIG_ACPI
>  static int xgene_get_port_id_acpi(struct device *dev,
>                                   struct xgene_enet_pdata *pdata)
>  {
> @@ -886,6 +887,7 @@ static int xgene_get_port_id_acpi(struct device *dev,
>
>         return 0;
>  }
> +#endif
>
>  static int xgene_get_port_id_dt(struct device *dev, struct xgene_enet_pdata *pdata)
>  {
> --
> 1.8.2.1
>



-- 
Thanks,
with regards,
Suman Tripathi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH net-next v1 1/1] drivers: net: xgene: Fix the compilation error "error: implicit declaration of function 'acpi_evaluate_integer'" in APM X-Gene ethernet driver.
@ 2015-07-01  7:03     ` Suman Tripathi
  0 siblings, 0 replies; 4+ messages in thread
From: Suman Tripathi @ 2015-07-01  7:03 UTC (permalink / raw)
  To: linux-arm-kernel

Hi ,

Any comments on this patch .

On Wed, Jun 24, 2015 at 1:51 PM, Suman Tripathi <stripathi@apm.com> wrote:
> This patch guards the acpi_evaluate_interger function as it fails
> the build for NON_ACPI CONFIG.
>
> Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
> Signed-off-by: Suman Tripathi <stripathi@apm.com>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> ---
>  drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
> index 4e83d4c..70b9ef6 100644
> --- a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
> +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
> @@ -871,6 +871,7 @@ static const struct net_device_ops xgene_ndev_ops = {
>         .ndo_set_mac_address = xgene_enet_set_mac_address,
>  };
>
> +#ifdef CONFIG_ACPI
>  static int xgene_get_port_id_acpi(struct device *dev,
>                                   struct xgene_enet_pdata *pdata)
>  {
> @@ -886,6 +887,7 @@ static int xgene_get_port_id_acpi(struct device *dev,
>
>         return 0;
>  }
> +#endif
>
>  static int xgene_get_port_id_dt(struct device *dev, struct xgene_enet_pdata *pdata)
>  {
> --
> 1.8.2.1
>



-- 
Thanks,
with regards,
Suman Tripathi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-01  7:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-24  8:21 [PATCH net-next v1 0/1]drivers: net: xgene: Fix the ACPI support for RGMII/SGMII0/XFI ethernet interfaces of APM X-Gene SoC Suman Tripathi
2015-06-24  8:21 ` [PATCH net-next v1 1/1] drivers: net: xgene: Fix the compilation error "error: implicit declaration of function 'acpi_evaluate_integer'" in APM X-Gene ethernet driver Suman Tripathi
2015-07-01  7:03   ` Suman Tripathi
2015-07-01  7:03     ` Suman Tripathi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.