thisHave a look at following post
How to add doc libraries as web part on child sites..
If you want to add a doc library on a child site as a web part just to show the content, there are other options like you can use content query web part and show item from different sites but the above link may help you http://gondals1.wordpress.com/ to solve the issue