| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <device/device.h> |
| 4 | #include "onboard.h" |
| 5 | |
| 6 | static void mainboard_init(struct device *dev) |
| 7 | { |
| 8 | lan_init(); |
| 9 | } |
| 10 | |
| 11 | static void mainboard_enable(struct device *dev) |
| 12 | { |
| 13 | dev->ops->init = mainboard_init; |
| 14 | } |
| 15 | |
| 16 | struct chip_operations mainboard_ops = { |
| 17 | .enable_dev = mainboard_enable, |
| 18 | }; |