[dpdk-dev] [PATCH] bus/fslmc: fix license information

Shreyansh Jain shreyansh.jain at nxp.com
Fri May 26 11:26:10 CEST 2017


License information in 3 newly added files doesn't reflect that they
are dual licensed. This patch adds a text to declare that.

Signed-off-by: Shreyansh Jain <shreyansh.jain at nxp.com>
---
 drivers/bus/fslmc/mc/dpmng.c         | 9 ++++++++-
 drivers/bus/fslmc/mc/fsl_dpmng.h     | 9 ++++++++-
 drivers/bus/fslmc/mc/fsl_dpmng_cmd.h | 9 ++++++++-
 3 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/drivers/bus/fslmc/mc/dpmng.c b/drivers/bus/fslmc/mc/dpmng.c
index 7fe1787..dd1c3ac 100644
--- a/drivers/bus/fslmc/mc/dpmng.c
+++ b/drivers/bus/fslmc/mc/dpmng.c
@@ -1,4 +1,10 @@
-/* Copyright 2013-2015 Freescale Semiconductor Inc.
+/*-
+ * This file is provided under a dual BSD/GPLv2 license. When using or
+ * redistributing this file, you may do so under either license.
+ *
+ *   BSD LICENSE
+ *
+ * Copyright 2013-2015 Freescale Semiconductor Inc.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -11,6 +17,7 @@
  * names of any contributors may be used to endorse or promote products
  * derived from this software without specific prior written permission.
  *
+ *   GPL LICENSE SUMMARY
  *
  * ALTERNATIVELY, this software may be distributed under the terms of the
  * GNU General Public License ("GPL") as published by the Free Software
diff --git a/drivers/bus/fslmc/mc/fsl_dpmng.h b/drivers/bus/fslmc/mc/fsl_dpmng.h
index 7dbc825..c2ddde0 100644
--- a/drivers/bus/fslmc/mc/fsl_dpmng.h
+++ b/drivers/bus/fslmc/mc/fsl_dpmng.h
@@ -1,4 +1,10 @@
-/* Copyright 2013-2015 Freescale Semiconductor Inc.
+/*-
+ * This file is provided under a dual BSD/GPLv2 license. When using or
+ * redistributing this file, you may do so under either license.
+ *
+ *   BSD LICENSE
+ *
+ * Copyright 2013-2015 Freescale Semiconductor Inc.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -11,6 +17,7 @@
  * names of any contributors may be used to endorse or promote products
  * derived from this software without specific prior written permission.
  *
+ *   GPL LICENSE SUMMARY
  *
  * ALTERNATIVELY, this software may be distributed under the terms of the
  * GNU General Public License ("GPL") as published by the Free Software
diff --git a/drivers/bus/fslmc/mc/fsl_dpmng_cmd.h b/drivers/bus/fslmc/mc/fsl_dpmng_cmd.h
index e5ebc11..3a36b6d 100644
--- a/drivers/bus/fslmc/mc/fsl_dpmng_cmd.h
+++ b/drivers/bus/fslmc/mc/fsl_dpmng_cmd.h
@@ -1,4 +1,10 @@
-/* Copyright 2013-2016 Freescale Semiconductor Inc.
+/*-
+ * This file is provided under a dual BSD/GPLv2 license. When using or
+ * redistributing this file, you may do so under either license.
+ *
+ *   BSD LICENSE
+ *
+ * Copyright 2013-2016 Freescale Semiconductor Inc.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -11,6 +17,7 @@
  * names of any contributors may be used to endorse or promote products
  * derived from this software without specific prior written permission.
  *
+ *   GPL LICENSE SUMMARY
  *
  * ALTERNATIVELY, this software may be distributed under the terms of the
  * GNU General Public License ("GPL") as published by the Free Software
-- 
2.7.4



More information about the dev mailing list