A heat dissipating device for a data storage device includes a bracket
configured for receiving the data storage device, a heat sink received in
the bracket configured for dissipating heat from the data storage device,
and a fastener. The bracket has two sidewalls. A slot is defined in each
sidewall of the bracket. The fastener has two free ends fixed in the
slots of the bracket respectively for pressing the heat sink to closely
contact with the data storage device.