A partially compressed lung is also known as atelectasis and can be caused by smoking. It can be treated, but it depends on the cause/severity of the lung collapse.
People who have this kind of disease is difficult to cure but it can be possible if they will follow instructions from the doctor. In this case, try not to smoke and avoid those things that will distruct your lungs.