105-power-reset-linkstation-poweroff-add-ls220de.patch 468 B

123456789101112131415
  1. --- a/drivers/power/reset/linkstation-poweroff.c
  2. +++ b/drivers/power/reset/linkstation-poweroff.c
  3. @@ -142,6 +142,12 @@ static void linkstation_poweroff(void)
  4. }
  5. static const struct of_device_id ls_poweroff_of_match[] = {
  6. + { .compatible = "buffalo,ls220d",
  7. + .data = &linkstation_power_off_cfg,
  8. + },
  9. + { .compatible = "buffalo,ls220de",
  10. + .data = &linkstation_power_off_cfg,
  11. + },
  12. { .compatible = "buffalo,ls421d",
  13. .data = &linkstation_power_off_cfg,
  14. },