[PATCH 1/2] serial: amba-pl011: make platform driver generic

Timur Tabi timur at codeaurora.org
Mon Mar 21 12:47:17 PDT 2016


Jun Nie wrote:

> -	snprintf(uap->type, sizeof(uap->type), "SBSA");
> +	snprintf(uap->type, sizeof(uap->type), "PL011 plat");

I'm not crazy about this.  I think you need to add a "const char *name" 
field to 'struct vendor_data'.

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Forum, a Linux Foundation collaborative project.



More information about the linux-arm-kernel mailing list