Two applications to different departments at same uni. But: One professor is affiliated with both departments
If you've submitted two different applications and they each specify what you're interested in working on, this shouldn't be an issue.