[bug fix]: fix delta ag9032v1 driver compilation. disable ag9064
This commit is contained in:
parent
689bbd2b72
commit
91891af27e
@ -348,7 +348,7 @@ static struct platform_driver cpld_driver = {
|
||||
|
||||
|
||||
/*---------------- module initialization ------------- */
|
||||
static void __init delta_ag9032v1_cpupld_init(void)
|
||||
static int __init delta_ag9032v1_cpupld_init(void)
|
||||
{
|
||||
int ret;
|
||||
printk(KERN_WARNING "ag9032v1_platform_cpupld module initialization\n");
|
||||
@ -384,4 +384,4 @@ module_exit(delta_ag9032v1_cpupld_exit);
|
||||
|
||||
MODULE_DESCRIPTION("DNI ag9032v1 CPLD Platform Support");
|
||||
MODULE_AUTHOR("Stanley Chi <stanley.chi@deltaww.com>");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -1613,7 +1613,7 @@ static ssize_t set_swpld_data(struct device *dev, struct device_attribute *dev_a
|
||||
int val;
|
||||
u8 mask_out;
|
||||
|
||||
ret = kstrtoul(buf, 0, &val);
|
||||
ret = kstrtoint(buf, 0, &val);
|
||||
|
||||
if (ret)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user