From 21328c528c135c61e4ff16cefebb853378af251d Mon Sep 17 00:00:00 2001 From: Marc Rosen Date: Thu, 13 Dec 2018 08:12:10 -0600 Subject: [PATCH] drivers/mtd/at25.c: Fixed missing opening parenthesis. --- arch/arm/src/tiva/hardware/cc13x0/cc13x0_ccfg.h | 5 +++++ arch/arm/src/tiva/hardware/cc13x0/cc13x0_flash.h | 5 +++++ arch/arm/src/tiva/hardware/cc13x0/cc13x0_gpio.h | 5 +++++ arch/arm/src/tiva/hardware/cc13x0/cc13x0_ioc.h | 6 ++++-- arch/arm/src/tiva/hardware/cc13x0/cc13x0_memorymap.h | 10 +++------- arch/arm/src/tiva/hardware/cc13x0/cc13x0_prcm.h | 5 +++++ arch/arm/src/tiva/hardware/cc13x0/cc13x0_timer.h | 5 +++++ arch/arm/src/tiva/hardware/cc13x0/cc13x0_uart.h | 5 +++++ .../tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_ccfg.h | 5 +++++ .../tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_flash.h | 5 +++++ .../tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_gpio.h | 5 +++++ .../tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_ioc.h | 6 ++++-- .../hardware/cc13x2_cc26x2/cc13x2_cc26x2_memorymap.h | 8 ++------ .../tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_prcm.h | 5 +++++ .../tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_timer.h | 5 +++++ .../tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_uart.h | 5 +++++ drivers/mtd/at25.c | 2 +- 17 files changed, 74 insertions(+), 18 deletions(-) diff --git a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_ccfg.h b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_ccfg.h index 013acb74467..33f9fe02973 100644 --- a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_ccfg.h +++ b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_ccfg.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_flash.h b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_flash.h index bd4036668d2..1bde80312ca 100644 --- a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_flash.h +++ b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_flash.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_gpio.h b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_gpio.h index cc85c72600d..747bbe1e8eb 100644 --- a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_gpio.h +++ b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_gpio.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_ioc.h b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_ioc.h index 2f11ee0bdbf..cd4acab535e 100644 --- a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_ioc.h +++ b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_ioc.h @@ -4,8 +4,10 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * - * Reference: - * TI C13x2/C26x2 SDK + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_memorymap.h b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_memorymap.h index e5c41631f7e..71ca0603dc0 100644 --- a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_memorymap.h +++ b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_memorymap.h @@ -4,14 +4,10 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * - * Derives for a TI header file that has a compatible BSD license: + * Technical content derives from a TI header file that has a compatible BSD license: * - * Filename: hw_memmap_h - * Revised: 2017-01-31 09:37:48 +0100 (Tue, 31 Jan 2017) - * Revision: 48345 - * - * Copyright (c) 2015 - 2017, Texas Instruments Incorporated - * All rights reserved. + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_prcm.h b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_prcm.h index b897ba2f7c2..176d0052fd3 100644 --- a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_prcm.h +++ b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_prcm.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_timer.h b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_timer.h index 090b31de2ab..70e1e281f8e 100644 --- a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_timer.h +++ b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_timer.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_uart.h b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_uart.h index 46c1878322e..ea8859e52c9 100644 --- a/arch/arm/src/tiva/hardware/cc13x0/cc13x0_uart.h +++ b/arch/arm/src/tiva/hardware/cc13x0/cc13x0_uart.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_ccfg.h b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_ccfg.h index 1b2cef86f01..229ae864c28 100644 --- a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_ccfg.h +++ b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_ccfg.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_flash.h b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_flash.h index a849bfbfd51..e92da5cccc8 100644 --- a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_flash.h +++ b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_flash.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_gpio.h b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_gpio.h index 203c6f62dbc..f1f19a99d35 100644 --- a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_gpio.h +++ b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_gpio.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_ioc.h b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_ioc.h index f4611827d49..61476abe118 100644 --- a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_ioc.h +++ b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_ioc.h @@ -4,8 +4,10 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * - * Reference: - * TI C13x2/C26x2 SDK + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_memorymap.h b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_memorymap.h index 79ee9c2060a..91465b2e9a9 100644 --- a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_memorymap.h +++ b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_memorymap.h @@ -4,13 +4,9 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * - * Derives for a TI header file that has a compatible BSD license: + * Technical content derives from a TI header file that has a compatible BSD license: * - * Filename: hw_memmap_h - * Revised: 2017-01-10 11:54:43 +0100 (Tue, 10 Jan 2017) - * Revision: 48190 - * - * Copyright (c) 2015 - 2017, Texas Instruments Incorporated + * Copyright (c) 2015-2017, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_prcm.h b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_prcm.h index a53141ae35b..6a272d75160 100644 --- a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_prcm.h +++ b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_prcm.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_timer.h b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_timer.h index 4e32596a4f9..7507a74e376 100644 --- a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_timer.h +++ b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_timer.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Authors: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_uart.h b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_uart.h index bced5d1ec46..1e23c0851e7 100644 --- a/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_uart.h +++ b/arch/arm/src/tiva/hardware/cc13x2_cc26x2/cc13x2_cc26x2_uart.h @@ -4,6 +4,11 @@ * Copyright (C) 2018 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * + * Technical content derives from a TI header file that has a compatible BSD license: + * + * Copyright (c) 2015-2017, Texas Instruments Incorporated + * All rights reserved. + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/drivers/mtd/at25.c b/drivers/mtd/at25.c index ff6344adbf7..1219e51da45 100644 --- a/drivers/mtd/at25.c +++ b/drivers/mtd/at25.c @@ -600,7 +600,7 @@ static int at25_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg) case MTDIOC_GEOMETRY: { FAR struct mtd_geometry_s *geo = - FAR struct mtd_geometry_s *)((uintptr_t)arg); + (FAR struct mtd_geometry_s *)((uintptr_t)arg); if (geo != NULL) {