[Pdbg] [PATCH v2 02/24] libpdbg: Make sbefifo hardware unit declarations static

Alistair Popple alistair at popple.id.au
Wed Nov 20 14:40:19 AEDT 2019


Reviewed-by: Alistair Popple <alistair at popple.id.au>

On Thursday, 7 November 2019 1:27:46 PM AEDT Amitay Isaacs wrote:
> Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
> ---
>  libpdbg/sbefifo.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libpdbg/sbefifo.c b/libpdbg/sbefifo.c
> index 030e6e9..440c0ee 100644
> --- a/libpdbg/sbefifo.c
> +++ b/libpdbg/sbefifo.c
> @@ -191,7 +191,7 @@ static int sbefifo_probe(struct pdbg_target *target)
>  	return 0;
>  }
>  
> -struct mem sbefifo_mem = {
> +static struct mem sbefifo_mem = {
>  	.target = {
>  		.name = "SBE FIFO Chip-op based memory access",
>  		.compatible = "ibm,sbefifo-mem",
> @@ -202,7 +202,7 @@ struct mem sbefifo_mem = {
>  };
>  DECLARE_HW_UNIT(sbefifo_mem);
>  
> -struct sbefifo kernel_sbefifo = {
> +static struct sbefifo kernel_sbefifo = {
>  	.target = {
>  		.name =	"Kernel based FSI SBE FIFO",
>  		.compatible = "ibm,kernel-sbefifo",
> 






More information about the Pdbg mailing list