Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1 @@
!include $ONL_TEMPLATES/platform-modules.yml VENDOR=accton BASENAME=x86-64-accton-as9726-32d ARCH=amd64 KERNELS="onl-kernel-6.1-lts-x86-64-all:amd64"
!include $ONL_TEMPLATES/platform-modules.yml VENDOR=accton BASENAME=x86-64-accton-as9726-32d ARCH=amd64 KERNELS="onl-kernel-6.12-lts-x86-64-all:amd64"
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNELS := onl-kernel-6.1-lts-x86-64-all:amd64
KERNELS := onl-kernel-6.12-lts-x86-64-all:amd64
KMODULES := src
VENDOR := accton
BASENAME := x86-64-accton-as9726-32d
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -839,9 +839,9 @@ static ssize_t show_bios_flash_id(struct device *dev, struct device_attribute *a
/*
* I2C init/probing/exit functions
*/
static int as9726_32d_cpld_probe(struct i2c_client *client,
const struct i2c_device_id *id)
static int as9726_32d_cpld_probe(struct i2c_client *client)
{
const struct i2c_device_id *id = i2c_client_get_device_id(client);
struct i2c_adapter *adap = to_i2c_adapter(client->dev.parent);
struct as9726_32d_cpld_data *data;
int ret = -ENODEV;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,7 @@ static const struct hwmon_chip_info as9726_32d_fan_chip_info = {
.info = as9726_32d_fan_info,
};

static int as9726_32d_fan_probe(struct i2c_client *client,
const struct i2c_device_id *dev_id)
static int as9726_32d_fan_probe(struct i2c_client *client)
{
struct as9726_32d_fan_data *data;
int status;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,14 +390,12 @@ static int accton_as9726_32d_led_probe(struct platform_device *pdev)
return ret;
}

static int accton_as9726_32d_led_remove(struct platform_device *pdev)
static void accton_as9726_32d_led_remove(struct platform_device *pdev)
{
int i;

for (i = 0; i < ARRAY_SIZE(accton_as9726_32d_leds); i++)
led_classdev_unregister(&accton_as9726_32d_leds[i]);

return 0;
}

static struct platform_driver accton_as9726_32d_led_driver = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ static const struct hwmon_chip_info as9726_32d_psu_chip_info = {
.info = as9726_32d_psu_info,
};

static int as9726_32d_psu_probe(struct i2c_client *client,
const struct i2c_device_id *dev_id)
static int as9726_32d_psu_probe(struct i2c_client *client)
{
const struct i2c_device_id *dev_id = i2c_client_get_device_id(client);
struct as9726_32d_psu_data *data;
int status;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int onlp_sysi_oids_get(onlp_oid_t* table, int max)
int onlp_sysi_platform_info_get(onlp_platform_info_t* pi)
{
int i, v[NUM_OF_CPLD]={0};
onlp_onie_info_t onie;
onlp_onie_info_t onie = {0};
char *bios_ver = NULL;

/* BIOS version */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ x86-64-accton-as9726-32d-r0:
--stop=1

kernel:
<<: *kernel-6-1
<<: *kernel-6-12

args: >-
console=tty0
Expand Down