APPLIED F/U: Re: [PATCH][FOCAL] UBUNTU: hio -- remove duplicated MODULE_DEVICE_TABLE declaration

Paolo Pisati paolo.pisati at canonical.com
Wed Mar 18 12:35:23 UTC 2020


On Tue, Mar 17, 2020 at 07:44:45PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> The declaration is duplicated and will cause build failure when
> building with clang. Remove it.
> 
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  ubuntu/hio/hio.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/ubuntu/hio/hio.c b/ubuntu/hio/hio.c
> index 57ad49a7e562..2eecca47e42d 100644
> --- a/ubuntu/hio/hio.c
> +++ b/ubuntu/hio/hio.c
> @@ -12956,7 +12956,6 @@ MODULE_DEVICE_TABLE(pci, ssd_pci_tbl);
>  SIMPLE_DEV_PM_OPS(hio_pm_ops, ssd_hio_suspend, ssd_hio_resume);
>  #endif
>  
> -MODULE_DEVICE_TABLE(pci, ssd_pci_tbl);
>  struct pci_driver ssd_driver = {
>  	.name		= MODULE_NAME, 
>  	.id_table	= ssd_pci_tbl, 
> -- 
> 2.25.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

-- 
bye,
p.



More information about the kernel-team mailing list