It depends on damages. Sometimes just a damaged small capacitor creates a big smoke.
First of all need to inspect the board visually. Need to check a source point of smoke, damaged elements (fuse, power regulators, electrolytic capacitors, diods, etc.).
Also using multimeter need to check main components. Based on accumulated information it will be possible to make a decision.
There is a small chance that only fuse (F4B1 FUSE G899151-001 2.5A) need to be replaced. This fuse is located near with a power jack.
PS: it will be good if you post photos with a good resolution of two sides of the board.
As far as I remember, the smoke was coming from near the 5V/3.3V jumper, somewhere in that bar of pins (VIN, GND, etc). Regarding the fuse, my professor who was with me when this happened tested it with a multimeter and it appeared to be fine.
I'll try to take some pictures of it to post here.